15.what is the disadvantage of using macros?
16.what is the self-referential structure?
17.can a union be self-referenced?
18.What is a pointer?
19.What is the Lvalue and Rvalue?
20.what is the difference between these initializations?
21.Char a[]=”string”;
22.Char *p=”literal”;
23.Does *p++ increment p, or what it points to?
Answer / aravindakrishnan
for q 22 and 23;
*p++;
in post increment untill semicolon is encountered,
p points to 'l' only in the next line only
p points to 'i';
puts(*p++) gives the answer literal only
| Is This Answer Correct ? | 1 Yes | 0 No |
How can you avoid including a header more than once?
what is the difference between class and unio?
What is the best organizational structure?
What is c language and why we use it?
Write a program of prime number using recursion.
Write a program to use switch statement.
0 Answers Agilent, Integreon, ZS Associates,
Explain the difference between malloc() and calloc() function?
How can a string be converted to a number?
Whats wrong with the following function char *string() { char *text[20]; strcpy(text,"Hello world"); return text; }
Reverse the part of the number which is present from position i to j. Print the new number. eg: num=789876 i=2 j=5 778986
Is null a keyword in c?
What is %g in c?