What will be the output of the following C++ code?
What is the size of wchar_t in C++?
What is the output of the following C program?
Which of the given functions is used to return a pointer to the located character?
#include<stdio.h>
int main()
{
int a=32;
int b=90;
printf("%d\n",b+a);
return 0;
}
What is the output of the following C program?
#include<stdio.h>
int main()
{
;
"Hello";
;
}
// function example
#include <iostream>
using namespace std;
int awesome (int a, int b)
{
int r;
r=a+b;
return r;
}
int main ()
{
int z;
z = awesome (5,3);
cout << "The result is " << z;
}
What are get pointers in C++?
Consider the following doubly linked list: head-1-2-3-4-5-tail
What will be the list after performing the given sequence of operations?
Node temp = new Node(6,head,head.getNext());
Node temp1 = new Node(0,tail.getPrev(),tail);
head.setNext(temp);
temp.getNext().setPrev(temp);
tail.setPrev(temp1);
temp1.getPrev().setNext(temp1);