Which of the following data types cannot be checked in a switch-case statement?
The va_start macro shall be invoked before any access to the unnamed arguments.
Mistakes by the programmer that cause a program to produce incorrect results are called?
#include<stdio.h>
int func(char* s1)
{
char* s2=s1;
while(*++s1)
{
return s2-s1;
}
}
int main()
{
char* s1="Abekus";
printf("%d",func(s1);
return 0;
}
What will be the output of the following C++ code?
#include
What are escape sequences?
What will be the output of the following C++ code?
#include <iostream>
#include <string>
using namespace std;
namespace A{
int var = 20;
}
namespace B{
int var = 15;
}
int main()
{
int var = 30;
using namespace B;
cout<<var;
}
What are Templates in C++?
Which of the following statements about automatic variables in programming are true?