How do we declare variables in c?


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

Post New Answer

More C Interview Questions

What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?

0 Answers  


What are dangling pointers? How are dangling pointers different from memory leaks?

1 Answers  


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

0 Answers  


a 'c' program to tell that the set of three coordinates lie on a same line

3 Answers   Persistent,


How to avoid structure padding in C?

8 Answers   Tech Mahindra,






How will you print TATA alone from TATA POWER using string copy and concate commands in C?

0 Answers   Amdocs, Apps Associates,


what's the o/p int main(int n, char *argv[]) { char *s= *++argv; puts(s); exit(0); }

1 Answers   Motorola,


What is the difference between constant pointer and pointer to a constant. Give examples.

4 Answers   TCS,


difference between object file and executable file

0 Answers  


How can I generate floating-point random numbers?

0 Answers  


what is the output of the program and explain why?? #include<stdio.h> void main ( ) { int k=4,j=0: switch (k) { case 3; j=300; case 4: j=400: case 5: j=500; } printf (ā€œ%d\nā€,j); }

14 Answers   Oracle,


main() { int i=5; printf("%d",++i + i); } output is 10 ------------------------ main() { int i=5; printf("%d",i++ + i); }output is 12 why it is so? give appropiate reason....

2 Answers  


Categories