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

Answer Posted / manju

The answer is garbage value because ch is not initialised

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is the difference between text files and binary files?

612


What is the data segment that is followed by c?

604


how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....

1368


What is const and volatile in c?

561


Explain heap and queue.

577






What are identifiers and keywords in c?

564


What is a const pointer?

630


What is queue in c?

574


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

1701


Write a program to reverse a given number in c language?

616


Who is the founder of c language?

678


p*=(++q)++*--p when p=q=1 while(q<=6)

1264


In a header file whether functions are declared or defined?

629


Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

1467


What does a pointer variable always consist of?

659