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?



15.what is the disadvantage of using macros? 16.what is the self-referential structure? 17.can a u..

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

Post New Answer

More C Interview Questions

what will be the output of the following program, justify? #define TEST int TEST getdata() { static i; i+=10; return i; } main() { int k; k = getdata(); }

3 Answers  


What is Heap?

3 Answers  


1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

1 Answers  


What is meant by type specifiers?

1 Answers  


How can you invoke another program from within a C program?

1 Answers  


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

1 Answers  


Explain how can type-insensitive macros be created?

1 Answers  


What is the difference between test design and test case design?

1 Answers  


Sir,please help me out with the output of this programme:- #include<stdio.h> #include<conio.h> void main() { int a=18,b=12,i; for(i=a<b?a:b;a%i||b%i;i--); printf("%d %d",i); }

4 Answers  


What is the total generic pointer type?

1 Answers  


What is the difference between arrays and pointers?

1 Answers  


HOW TO HANDLE EXCEPTIONS IN C

8 Answers  


Categories