How to declare a template?
int a = 11;
char b = 'b';
a += b;
printf("%d", a);
A pointer in C that has not been initialized is known as
By default, how are values passed in C++?
What will be the output of the following C code?
void main()
{
int i=065,j=65;
printf("%d %d",i,j);
}
What is the output of the following C program?
int main()
{
2 || printf("hi") && printf("%s", "HELLO");
}
What will be the final values of a and c in the following C statement? (Initial values: a=2, c=1)
c = (c) ? a = 0 : 2;
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int main()
{
char *ptr;
char Str[] = "abcdefg";
ptr = Str;
ptr += 5;
cout << ptr;
return 0;
}
What happens when you introduce the interface of classes in a runtime polymorphic hierarchy?
The attributes of three arithmetic operators in some programming language are given below.
Operator Precedence Associativity Arity + High Left Binary - Medium Right Binary * Low Left Binary
The value of the expression 2 - 5 + 1 - 7 * 3 in this language is
OnSite
1 Openings
FullTime
Posted 17 days ago