A file a.cpp & B.cpp are complied & linked together in VC++
file a is something like int a =100;, File B is something
like extern a;
main()
{
printf("%d",a);
}what will be the output.a)100,b)linker error,c)complier
error etc etc.
Answer Posted / ashish chandrakar
It should be compiler 1 compiler error and 1 warning
Error : Undeclared identifier
we have to include stdio.h
Warning: main should return a value; but it assume as return
type as void.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Can I uninstall visual c++?
What is microsoft visual c++ runtime library error?
What is cwinthread class? Explain its advantages.
In which Way invoke context-sensitive help inside the editor?
Is it safe to uninstall microsoft visual c++ 2008 redistributable?
What is odbc in vc ++?
Is visual c++ a compiler?
Explain pointer to the constant and constant pointer? Explain difference between them.
What is mfc in vc++?
What is microsoft visual c++ 2008 redistributable?
How can we use cmutex?
How many microsoft visual c++ do you need?
Difference between getmessage, postmessage & peakmessage.
Explain the important features of vc++?
What is visual c++ 2010 redistributable package x64?