what will be the output of this program
main()
{
int i=1;
while (i<=10);
{
i++;
}
}
Answer Posted / srikanth karnati
there is no output because there is no out statment
there.if write printf("%d",i);at out side the loop the
output will be 11.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
Why doesn't C support function overloading?
Explain union.
code for quick sort?
Explain what is the difference between a string and an array?
How can I access an I o board directly?
How to write a code for implementing my own printf() and
scanf().... Please hep me in this... I need a guidance...
Can you give an coding for c... Please also explain about
the header files used other than #include
How main function is called in c?
How can I avoid the abort, retry, fail messages?
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
What is assignment operator?
What is s in c?
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
Write a program to print all permutations of a given string.