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

Answer Posted / paul

It'll give a warnin tat "a is never used...If u Continue
executing...it will the memory addres that is currently
used.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

c program for searching a student details among 10 student details

1656


What are the different types of endless loops?

624


Can we use visual studio for c?

552


Why n++ execute faster than n+1 ?

1851


What is the use of putchar function?

651






What are the different file extensions involved when programming in C?

758


Ow can I insert or delete a line (or record) in the middle of a file?

576


What are Macros? What are its advantages and disadvantages?

649


What is the meaning of ?

622


Explain how do you convert strings to numbers in c?

594


the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....

22232


What are global variables?

648


What are run-time errors?

600


Can we use any name in place of argv and argc as command line arguments?

610


Explain what is a program flowchart and explain how does it help in writing a program?

649