How many standard sequence containers are there in C++?
What will be the output of cout << (ans = 8); if ans is initially 6?
What is the output of the following C program?
What type of iteration does the forward_list container provide in C++?
Consider the following operation performed on a stack of size 5.
Push(1);
Pop();
Push(2);
Push(3);
Pop();
Push(4);
Pop();
Pop();
Push(5);
After the completion of all operation, the number of elements present in stack are
What will be the output of the following C code?
What will the output of the following C program be?
#include<stdio.h>
int main()
{
int x= 2, y=3;
if(x = y)
printf("\nEQUAL");
else
printf("\nNOT EQUAL");
return 0;
}
In the following program snippet, both s1 and s2 would be variables of structure type defined as below and there won't be any compilation issue.
typedef struct Student
{
int rollno;
int total;
} Student;
Student s1;
struct Student s2;
What is the correct statement about lambda expressions?
Match the following :
Column 1 :
(P) static char var;
(Q) m = malloc(10); m = null;
(R) char *ptr[10];
(S) register int var1;
Column 2 :
(i) Sequence of memory locations to store addresses
(ii) A variable located in data section of memory
(iii) Request to allocate a CPU register to store data
(iv) A lost memory which cannot be freed
OnSite
1 Openings
FullTime
Posted 17 days ago