When is a null pointer used?


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

Post New Answer

More C Interview Questions

what is y value of the code if input x=10 y=5; if (x==10) else if(x==9) elae y=8; a.9 b.8 c.6 d.7

4 Answers   TCS,


20. main() { int i=5; printf("%d%d%d%d%d%d",i++,i--,++i,--i,i); } Answer:??????

2 Answers  


How many levels deep can include files be nested?

0 Answers  


int a=0,b=2; if (a=0) b=0; else b=*10; What is the value of b ?

6 Answers   TCS,


how to find anagram without using string functions using only loops in c programming

0 Answers  


What is the advantage of a random access file?

0 Answers  


write a programe returns the number of times the character appears in the string

2 Answers  


to get a line of text and count the number of vowels in it

3 Answers   Satyam,


regarding the scope of the varibles;identify the incorrect statement: a.automatic variables are automatically initialised to 0 b.static variables are are automatically initialised to 0 c.the address of a register variable is not accessiable d.static variables cannot be initialised with any expression

1 Answers   TCS,


write a program to copy a string without using a string?

2 Answers  


Evaluate the following: int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; } for fn(7); 1) 10 2) 11 3) 1

6 Answers  


What is wrong with this statement? Myname = 'robin';

0 Answers  


Categories