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 to delete an element in an array

2 Answers   IBM,


There are 21 people in a room. They have to form groups of 3 people each. How many combinations are possible? Write a C program to print the same.

1 Answers   TCS,


main() { char *p; printf("%d %d ",sizeof(*p),sizeof(p)); }

6 Answers  


void main() { unsigned giveit=-1; int gotit; printf("%u ",++giveit); printf("%u \n",gotit=--giveit); }

1 Answers  


Code for 1>"ascii to string" 2>"string to ascii"

1 Answers   Aricent, Global Logic,






write a c program to input initial & final time in the format hh:mm and find the time intervel between them? Ex inputs are initial 06:30 final 00:05 and 23:22 final 22.30

0 Answers  


Derive expression for converting RGB color parameters to HSV values

1 Answers  


Is the following code legal? typedef struct a aType; struct a { int x; aType *b; };

1 Answers  


can you use proc sql to manpulate a data set or would u prefer to use proc report ? if so why ? make up an example and explain in detail

0 Answers   TCS,


void main() { static int i=5; if(--i){ main(); 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  


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

7 Answers  


Categories