void main()

{

char far *farther,*farthest;

printf("%d..%d",sizeof(farther),sizeof(farthest));

}

Answers were Sorted based on User's Feedback



void main() { char far *farther,*farthest; printf("%d..%d",si..

Answer / susie

Answer :

4..2

Explanation:

the second pointer is of char type and not a far pointer

Is This Answer Correct ?    5 Yes 1 No

void main() { char far *farther,*farthest; printf("%d..%d",si..

Answer / jatinder arora

1..1

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More C Code Interview Questions

How do you write a program which produces its own source code as its output?

7 Answers  


#include<conio.h> main() { int x,y=2,z,a; if(x=y%2) z=2; a=2; printf("%d %d ",z,x); }

1 Answers  


can u give me the c codings for converting a string into the hexa decimal form......

1 Answers  


#include<stdio.h> void fun(int); int main() { int a; a=3; fun(a); printf("\n"); return 0; } void fun(int i) { if(n>0) { fun(--n); printf("%d",n); fun(--n); } } the answer is 0 1 2 0..someone explain how the code is executed..?

1 Answers   Wipro,


main() { extern i; printf("%d\n",i); { int i=20; printf("%d\n",i); } }

1 Answers  






write a program to Insert in a sorted list

4 Answers   Microsoft,


how to delete an element in an array

2 Answers   IBM,


How to read a directory in a C program?

4 Answers  


Write a function to find the depth of a binary tree.

13 Answers   Adobe, Amazon, EFI, Imagination Technologies,


main() { int i=5; printf("%d",++i++); }

1 Answers  


What is the output of the program given below main() { signed char i=0; for(;i>=0;i++) ; printf("%d\n",i); }

1 Answers  


Is this code legal? int *ptr; ptr = (int *) 0x400;

1 Answers  


Categories