#include
What would be the output of the following C program?
Which of the following user-defined header file extension used in C++?
What is the purpose of a template parameter?
When an element is inserted into a vector, subsequent elements are moved in terms of which operation?
What will be the output of the following C++ code?
#include<iostream>
using namespace std;
int x = 1;
int main()
{
int x = 2;
{
int x = 3;
cout << ::x << endl;
}
return 0;
}
What will be the output of the following C++ code?
#include <iomanip>
#include <iostream>
using namespace std;
int main()
{
cout << setprecision(17);
double d = 0.1;
cout << d << endl;
return 0;
}
What will be the output of the following C++ code?
What is the purpose of using #include "" in C/C++ programming?
Predict the output of the program given below
#include <stdio.h>
int main()
{
int a = 10, b = 100;
float c = 10.5, d = 100.5;
printf("++a = %d \n", ++a);
printf("--b = %d \n", --b);
printf("++c = %f \n", ++c);
printf("--d = %f \n", --d);
return 0;
}
OnSite
1 Openings
FullTime
Posted 17 days ago