what will be the output of this program........
main()
{
int a=2,b=4,c=6;
printf("%d");
}
why it gives the value of third variable.

Answer Posted / biren

6

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

1776


Write a program of prime number using recursion.

630


Can math operations be performed on a void pointer?

595


What is calloc()?

637


What are the basic data types associated with c?

824






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

1630


Can you write the algorithm for Queue?

1561


What is hashing in c?

650


diff between exptected result and requirement?

1606


How can I read and write comma-delimited text?

627


Explain 'bus error'?

573


Explain the Difference between the New and Malloc keyword.

694


Why is c called c?

640


How many types of operator or there in c?

613


Write a program to check armstrong number in c?

644