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

Answer Posted / kalpana.y


There will be no output

because,in printf statement the integer variable is

declared but 'ch' is assinged.it should be 'a' insted
of 'ch'.

Is This Answer Correct ?    5 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can we change the default calling convention in c if yes than how.........?

2044


Not all reserved words are written in lowercase. TRUE or FALSE?

734


What is modeling?

655


When was c language developed?

710


Tell us bitwise shift operators?

608






What are preprocessor directives in c?

653


What does int main () mean?

560


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

1687


What are the types of data types and explain?

677


what is a function method?give example?

1924


What is s or c?

608


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2340


Compare interpreters and compilers.

646


What are the advantages of the functions?

614


Write a program to print factorial of given number using recursion?

609