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

Tell me what are bitwise shift operators?

645


When would you use a pointer to a function?

574


Can main () be called recursively?

614


What will the preprocessor do for a program?

576


How can I find the modification date of a file?

689






Why functions are used in c?

570


How to throw some light on the b tree?

594


What are the types of variables in c?

570


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

636


What does do in c?

596


Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon

1723


What are the advantages of using new operator as compared to the function malloc ()?

740


Why array is used in c?

543


What are volatile variables in c?

507


Explain the difference between #include "..." And #include <...> In c?

610