Which keyword is used to handle exceptions?
What is the output of the following code?
syms x y;limit(y*x,1,x,'left','left')
What is the use of the function call operator?
Which character set variable indicates the character set used for storing identifiers?
What will be the output of the following program?
#include<stdio.h>
int main()
{
int a=10, b=10;
if(a=5)
b--;
printf("%d, %d", a, b--);
}
#include<stdio.h>
int main()
{
const int x = 5;
const int *ptrx;
ptrx = &x;
*ptrx = 10;
printf("%d\n", x);
return 0;
}
#include<stdio.h>
int main()
{
int i=1;
switch(i&1)
{
case 0:printf("Abekus");
break;
case 1:printf("learning");
break;
default:printf("Abekuslearning")
}
return 0;
}
What will be the output of the following C code?
Assume that size of an integer is 32 bit. What is the output of following program?
#include<stdio.h>
struct st
{
int x;
static int y;
};
int main()
{
printf("%d", sizeof(struct st));
return 0;
}
What will be the output of the following C++ code?
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main ()
{
srand (time(NULL));
printf ("Random number: %d\n", rand() % 100);
srand (1);
return 0;
}