In the following code segment what will be the result of the
function,
value of x , value of y
{
unsigned int x=-1;
int y;
y = ~0;
if(x == y)
printf("same");
else
printf("not same");
}
a) same, MAXINT, -1
b) not same, MAXINT, -MAXINT
c) same , MAXUNIT, -1
d) same, MAXUNIT, MAXUNIT
e) not same, MAXINT, MAXUNIT
What are different types of pointers?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
Which is not valid in C? 1) class aClass{public:int x;} 2) /* A comment */ 3) char x=12;
Can a file other than a .h file be included with #include?
What is the difference between CV and Resume ?
can anyone please tell me wat is backlogs... i was looking for the job openings where i read this.. eligibility criteria minimum 70% in degree without backlogs. is that arrear.. if so is it standing arrear or history of arrears... please help me...
11 Answers CTS, Indian Navy, L&T, Microsoft, SSB, TCE, TCS,
whitch value return void main?
What is the use of keyword VOLATILE in C?
What is C language ?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
What is function pointer and where we will use it
Write a program for Overriding.