int f=1, i=2;
while (++i < 5) {
f *= i;
}
cout << f;
For binary files, a ___ must be appended to the mode string.
Which of the following is a valid identifier in C++?
What type of execution does a sequence point allow?
#include<stdio.h>
int main()
{
int a=1,b=0;
b=++a + ++a;
printf("%d %d",a,b);
return 0;
}
How many times does the loop execute in the following program?
#include <stdio.h>
int main()
{
int i=6;
while(i<110){
i*=2;
i++;
}
The concept of having multiple functions with the same name but different parameters is known as?
The atoi() function converts the string pointed to by the argument str to an integer representation.
What are the final values of i and j after the execution of the following code?
int main()
{
int i, j;
for(i=0, j=0; j<5, j<25; i++, j++);
printf("%d %d", i, j);
}
What are Manipulators in C++?
OnSite
1 Openings
FullTime
Posted 17 days ago