Warning: implode(): Invalid arguments passed in /www/wwwroot/jobquiz.info/mdiscuss.php on line 336
1 : typedef long a; extern int a c; 2 : typedef long a; extern a int c; 3 : typedef long a; extern a c; ?->(Show Answer!)
Question Set

1. 1 : typedef long a; extern int a c; 2 : typedef long a; extern a int c; 3 : typedef long a; extern a c;





Ask Your Doubts Here

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

  • By: guest on 01 Jun 2017 06.01 pm
    typedef long a;
    extern int a c; while compiling this statement becomes extern int long c;. This will result in to "Declaration syntax error". typedef long a;
    extern a int c; while compiling this statement becomes extern long int c;. This will result in to "Too many types in declaration error". typedef long a;
    extern a c; while compiling this statement becomes extern long c;. This is a valid c declaration statement. It says variable c is long data type and defined in some other file or module. So, Option C is the correct answer.
Show Similar Question And Answers
QA->A train 110ms long passes a telegraph pole in 3 seconds. How long will it take to cross railway platform 165 ms long....
QA->A train 300m long crossed a platform 900m long in 1 minute 12 seconds. Find the speed of the train in km/hr....
QA->How long does a train 110 metres long running at a speed of 36 km/hour take to cross a bridge of 132 metres in length?....
QA->ദീർഘദൃഷ്ടി (ഹൈപ്പർ മെട്രോപ്പിയ or Long Sight) ൽ വസ്തുവിന്റെ പ്രതിബിംബം പതിക്കുന്നത്?....
QA->ദീർഘദൃഷ്ടി (ഹൈപ്പർ മെട്രോപ്പിയ or Long Sight) പരിഹരിക്കുന്നതിനുള്ള ലെൻസ്?....
MCQ->1 : typedef long a; extern int a c; 2 : typedef long a; extern a int c; 3 : typedef long a; extern a c;....
MCQ->What will be the output of the program? #include<stdio.h> int fun(int, int); typedef int (pf) (int, int); int proc(pf, int, int); int main() { printf("%d\n", proc(fun, 6, 6)); return 0; } int fun(int a, int b) { return (a==b); } int proc(pf p, int a, int b) { return ((p)(a, b)); }....
MCQ->What will be the output of the program? #include<stdio.h> int i; int fun1(int); int fun2(int); int main() { extern int j; int i=3; fun1(i); printf("%d,", i); fun2(i); printf("%d", i); return 0; } int fun1(int j) { printf("%d,", ++j); return 0; } int fun2(int i) { printf("%d,", ++i); return 0; } int j=1;....
MCQ->Which of the following statement is correct about the program given below? #include<iostream.h> int BixTest(int x, int y); int BixTest(int x, int y, int z = 5); int main() { cout<< BixTest(2, 4) << endl; return 0; } int BixTest(int x, int y) { return x y; } int BixTest(int x, int y, int z = 5) { return x y z; }....
MCQ->What will be the output of the program? #include<stdio.h> void fun(int); typedef int (pf) (int, int); int proc(pf, int, int); int main() { int a=3; fun(a); return 0; } void fun(int n) { if(n > 0) { fun(--n); printf("%d,", n); fun(--n); } }....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution