Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the difference between union and structure in c?

1083


any "C" function by default returns an a) int value b) float value c) char value d) a & b

1041


What is a pointer and how it is initialized?

1079


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

1089


#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); }

1002


Explain what is the heap?

1013


Explain what is the difference between the expression '++a' and 'a++'?

1150


What is malloc and calloc?

1003


What is double pointer in c?

983


Does * p ++ increment p or what it points to?

1054


What is return type in c?

1073


Why is c called a structured programming language?

1211


Which control loop is recommended if you have to execute set of statements for fixed number of times?

1297


pierrot's divisor program using c or c++ code

2166


#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); }

1240