What is the output of the following C program?
What will be the capacity of the vector at the end of the following C++ code?
What is the output of the following C program?
int i = 20;
printf("%x", i);
In a heap data structure, which value is pointed to first?
Which of the following is the simplest page replacement algorithm?
What do C++ input and output objects, such as cin and cout, support?
What is the output of the following C program?
main()
{
char str[] = 'ctest';
printf("%s", str);
printf("%c", str[3]);
printf("%s", &str[3]);
}
What will be the output of the following C code?
#include<stdio.h>
int main()
{
int i=0;
if(i==0)
{
printf("Hello");
continue;
}
return 0;
}
#include <stdio.h>
#include <stdlib.h>
int main ()
{
char s[] = "365.24 29.53";
char* p;
double d1, d2;
d1 = strtod (s, &p);
d2 = strtod (p, NULL);
printf ("%.2f\n", d1/d2);
return 0;
}