what will be the output:
main(){char ch;int a=10;printf("%d",ch);}

Answer Posted / reddy

ans ch=0
if we print a it wil be 10

Is This Answer Correct ?    2 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an arrays?

658


Explain heap and queue.

591


write a program to copy the string using switch case?

2404


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

1788


How to declare a variable?

575






What extern c means?

547


How can I sort more data than will fit in memory?

632


Can i use “int” data type to store the value 32768? Why?

758


What is null character in c?

695


Tell us bitwise shift operators?

603


What happens if a header file is included twice?

602


What is a static variable in c?

671


Implement bit Array in C.

680


which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;

2419


What are the restrictions of a modulus operator?

641