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 / vikram

output will be any garbage value since ch is not assigned
any value

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is the most efficient way to store flag values?

1272


What is a char in c?

1040


.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; }

2663


What are the usage of pointer in c?

1243


Why is not a pointer null after calling free?

1074


write a program to rearrange the array such way that all even elements should come first and next come odd

2353


What is difference between static and global variable in c?

1103


How can I dynamically allocate arrays?

1163


Explain what is meant by 'bit masking'?

1268


Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?

1214


Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

2208


What is the difference between c and python?

1233


How can I write a function that takes a format string and a variable number of arguments?

1103


Why is python slower than c?

1132


What are the applications of c language?

1123