Standard Query Language
Structured Query Language
Shortest Query Language
System Query Language
Both are internal command of DOS
Both are external commands of DOS
Both A) and B)
Both can be used to copy file or group of files
(*ptr)++
++*(ptr)
(ptr)*++
(ptr)++*
auto
static
extern
register
Value of elements in array
First element of the array
Base address of the array
Address of the last element of array
If it does not exist, an error is returned
If it does not exist, it is created
If it exists, then data is written at the end
If it exists, error is returned
remove(var-name);
free(var-name);
delete(var-name);
dalloc(var-name);
Martin Richards
Dennis Ritchie
Ken Thompson
Herman Hellorith
Keywords can be used as variable names
Variable names can contain digits
Variable names do not contain blank spaces
Capital letters can be used in variable names.
Assignment Relational Arithmetic
Arithmetic Relational Assignment
Relational Arithmetic Assignment
Assignment Arithmetic Relational
It will not be allowed, but no error message will be generated
Compiler will generate an error message suggesting the same
The element will be assigned NULL VALUE.
Some other data may be overwritten
unalloc()
Dropmem()
Dealloc()
free()
Character
Integer
Float
enum
strchr( )
strrchr( )
strstr( )
strnset( )
‘.’
‘&’
‘*’
‘->’
What would be value of j after the following is executed?
k=17; j=6; if (k < 10) j=8; j=j+1; j=j+2;
8
9
7
10
What will be output after compilation and execution of the following code?
int main() { int array[3]={5}; int i; for (i=0;i<=2;i++) printf("%d ",array[i]); return 0; }
5 garbage garbage
5 0 0
0 0 0
5 5 5
it Compare the variable a and the variable b are same.
The value of b is assigned to variable a but if b changes later, it will not effect the value of variable a.
The value of b is assigned to variable a but if b changes later, it will effect the value of variable a.
The value of variable a is assigned to variable b, and the value of variable b is assigned to variable a.
for (i=1; i < 20; i++) printf ("k");
for (i=1; i = 20; i++) printf ("k");
for (i=0; i < 20; i++) printf ("k");
for (i=0; i <= 20; i++) printf ("k");