What is the output of the program given below
#include<stdio.h>
main()
{
char i=0;
for(;i>=0;i++) ;
printf("%d\n",i);
}
Answer Posted / ananth
The loop never gets terminated as it runs infinite. So the
printf statement will not trigger & no o/p is produced.
| Is This Answer Correct ? | 11 Yes | 19 No |
Post New Answer View All Answers
Is printf a keyword?
Tell us the use of fflush() function in c language?
One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.
What is the difference between union and anonymous union?
Is it possible to execute code even after the program exits the main() function?
Ow can I insert or delete a line (or record) in the middle of a file?
What is the difference between union and structure in c?
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.
What are the different types of objects used in c?
How a string is stored in c?
What should malloc(0) do?
what is the significance of static storage class specifier?
can any one provide me the notes of data structure for ignou cs-62 paper
Differentiate between #include<...> and #include '...'
Tell me what is the purpose of 'register' keyword in c language?