Which keyword is used to include a header file in a program?
What will be the output of the following arithmetic expression?
5+3*2%10-8*6
What is the main purpose of the locale in C++?
Which of the following header file must be included to use std::stringstream?
#include<stdio.h>
int main()
{
for(int i=9;i!=0;i--)
printf("%d",i--);
return 0;
}
What will the output of the following program be?
main()
{
int i=10;
printf("%d %d %d",++i,i++,i);
}
Which of the following cannot be inherited from the base class in C++?
What is Run-time Type Information (RTTI)?
Which of the following statements are true about pointer?
Let A be a square matrix of size n x n. Consider the following program. What is the expected output?
C = 100
for i = 1 to n do
for j = 1 to n do
{
Temp = A[i][j] + C
A[i][j] = A[j][i]
A[j][i] = Temp - C
}
for i = 1 to n do
for j = 1 to n do
Output(A[i][j]);