void main()
{
char far *farther,*farthest;

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

}

Answer Posted / basha

syntax error before '*' token
error: `farther' undeclared (first use in this function)
error: `farthest' undeclared (first use in this function)

I am getting these types of errors how u get 4 and 2 i
didn't understood

Is This Answer Correct ?    15 Yes 30 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a c program to calculate sum of digits till it reduces to a single digit using recursion

2729


What is difference between structure and union in c programming?

577


How do you define CONSTANT in C?

661


Define recursion in c.

706


In a switch statement, explain what will happen if a break statement is omitted?

641






What is the difference between %d and %i?

602


write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.

1580


Why do we need functions in c?

567


Explain what is #line used for?

613


What is the use of bitwise operator?

696


What does != Mean in c?

594


What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

737


how should functions be apportioned among source files?

632


What is sizeof int in c?

613


What is a memory leak? How to avoid it?

582