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

What is pragma c?

620


Write a code on reverse string and its complexity.

612


How do you sort filenames in a directory?

719


What is int main () in c?

630


Write a code to generate divisors of an integer?

645






In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

774


Explain how do you list files in a directory?

620


What is new line escape sequence?

814


What is "Hungarian Notation"?

639


How many levels deep can include files be nested?

654


Why do we use namespace feature?

588


Is main an identifier in c?

607


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

615


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures

2747


What is multidimensional arrays

637