-1 as hex is
How many types of comments are there in c++?
What will be the output of the following C++ code?
Declaration of a pointer reserves memory space for
How will you print a newline character on the screen?
A number is 0xA4F1 in hex. What number is this in binary?
The _____ function specifies the required number of fields to be used while displaying the output value.
What will be the output of the following C code?
void main()
{
int i=5;
if(i != 0)
printf("%d", i);
printf("Hey");
}
What is the output of the following C code?
#include <stdio.h>
struct abc{
};
int main()
{
printf("%d",sizeof(abc));
return 0;
}
What will be the output of the following C++ code?
#include <iostream>
#include <utility>
using namespace std;
int main()
{
pair<int,int> p;
p = make_pair(1,2);
cout<<"Pair(first,second) = ("<<p.first<<","<<p.second<<")\n";
return 0;
}