What are the advantages and disadvantages of pointers?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

write a program to reverse the words in the sentence.NOTE:not reverse the entire string but just the occurance of each word

1 Answers   Sienna Ecad, Wipro,


Find the O/p of the following 1) #include int main() { char c='1'; int j=atoi(c); }

4 Answers   Subex,


what is an array

5 Answers  


Bit swapping

2 Answers  


Write a Program to print this triangle: * ** * **** * ****** * ******** * ********** use two nested loops.

12 Answers   MIT, TCS,






1. Write the function int countchtr(char string[ ], int ch); which returns the number of times the character ch appears in the string. Example, the call countchtr(“She lives in NEWYORK”, ‘e’) would return 3.

4 Answers  


What is %s and %d in c?

0 Answers  


In which area global, external variables are stored?

3 Answers  


swap 2 numbers without using third variable?

0 Answers   IBS,


Can two or more operators such as and be combined in a single line of program code?

0 Answers  


int n=1; while(1) { switch(n) { case 1:printf("a"); n++; continue; case 2:printf("b"); n++; continue; default : printf("c"); break; } break; }

1 Answers  


#ifdef TRUE int I=0; #endif main() { int j=0; printf("%d %d\n",i,j); }

3 Answers   ADITI,


Categories