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
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
what is C?
Tell us the use of fflush() function in c language?
write a program in c language to print your bio-data on the screen by using functions.
6 Answers College School Exams Tests, IBM,
a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none
Is Exception handling possible in c language?
Why is not a pointer null after calling free?
find largest of 3 no
Explain a file operation in C with an example.
Is c is a procedural language?
write an algorithm and a program to count the number of elements in a circularly singly linked list