what will be the output:
main(){char ch;int a=10;printf("%d",ch);}
Answer Posted / kanmani
I think this program produce some garbage value.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between union and structure in c?
any "C" function by default returns an a) int value b) float value c) char value d) a & b
What is a pointer and how it is initialized?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
Explain what is the heap?
Explain what is the difference between the expression '++a' and 'a++'?
What is malloc and calloc?
What is double pointer in c?
Does * p ++ increment p or what it points to?
What is return type in c?
Why is c called a structured programming language?
Which control loop is recommended if you have to execute set of statements for fixed number of times?
pierrot's divisor program using c or c++ code
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }