Which of the following operations cannot be performed on an array arr in C/C++?
I) ++arr
II) arr+1
III) arr++
IV) arr*2
From where break statement causes an exit?
Which of the following keyword convert an integer to hexadecimal string in python?
Which is true about an anonymous inner class?
Which interface provides the capability to store objects using a key-value pair?
Which of these functions is called to display the output of an applet ?
What is the value of x in this C code?
#include <stdio.h>
int main()
{
int x = 5 * 9 / 3 + 9;
printf("%d",x);
}
What is the output of this C code?
#include <stdio.h>
int main()
{
char *p = NULL;
char *q = 0;
if (p)
printf(" p ");
else
printf("nullp");
if (q)
printf("q\n");
else
printf(" nullq\n");
}
What will be the output of below C program?
#include<stdio.h>
int main(){
int a = 25, b;
int *ptr, *ptr1;
ptr = &a;
ptr1 = &b;
b = 36;
printf("%d %d",*ptr, *ptr1);
return 0;
}