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

Answer Posted / sulagna samapika

what will be the output of printf("%d")
ans-
the outpot is 0

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why should I use standard library functions instead of writing my own?

670


Can you please explain the difference between strcpy() and memcpy() function?

598


1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if

3975


What is the difference between functions abs() and fabs()?

644


List the variables are used for writing doubly linked list program.

1617






Find duplicates in a file containing 6 digit number (like uid) in O (n) time.

2604


What is p in text message?

536


What is auto keyword in c?

787


What are the different types of constants?

638


what are # pragma staments?

1624


There seem to be a few missing operators ..

614


Explain what is the heap?

618


Can true be a variable name in c?

555


Explain what are preprocessor directives?

623


Explain what is wrong with this program statement? Void = 10;

761