WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW
IT COME ..
#include<stdio.h>
#include<conio.h>
void main()
{
int k=20;
printf("%d%d%d%d",k,k++,++k,k);
getch();
}
Answer Posted / ashish
20212120 is the write answer because there is no space between
specified data type %d
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain what is page thrashing?
Explain 'far' and 'near' pointers in c.
Tell me what is null pointer in c?
What is indirection in c?
Which function in C can be used to append a string to another string?
How can I remove the trailing spaces from a string?
How do shell structures work?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
Write a program to swap two numbers without using third variable?
What is the explanation for cyclic nature of data types in c?
What is enumerated data type in c?
Explain what are header files and explain what are its uses in c programming?
What is the use of printf() and scanf() functions?
Differentiate between static and dynamic modeling.