what is meant by linking error? how can i solve it? if there
is a linking error " unable to open file 'cos.obj'? then what
should i do?



what is meant by linking error? how can i solve it? if there is a linking error " unable to o..

Answer / mr.mohamedali

looks like you just copied a .cpp file from somewhere and tried to run it on your complier.
if it is so you have to copy all the extensions of file name and paste it the directory from which you want to run the program.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C C++ Errors Interview Questions

Assume that the int variables i and j have been declared, and that n has been declared and initialized. Write code that causes a "triangle" of asterisks of size n to be output to the screen. Specifically, n lines should be printed out, the first consisting of a single asterisk, the second consisting of two asterisks, the third consistings of three, etc. The last line should consist of n asterisks. Thus, for example, if n has value 3, the output of your code should be * ** *** You should not output any space characters. Hint: Use a for loop nested inside another for loop.

2 Answers   HCL,


when i use cout or cin call & then either << or >> .....it shows declaration syntax error...what should i do? cout<<"anything"; int a; cin>>a; return 0;

2 Answers  


Using string functions write a program that will accept the name of the capital as input value and will display the corresponding country. ------------------------ Capitals Countries ------------------------ Capitals Countries Ottawa Canada Moscow Russia Rome Italy I can't not get it to run properly

1 Answers   AMA,


void main() { int i=5,y=3,z=2,ans; clrscr(); printf("%d",++i + --z + i++ + --i * ++y); i=5,y=3,z=2; ans=++i + --z + i++ + --i * ++y; printf("\n%d",ans); getch(); } Its output is 37 and 31.... Please explain me why its different How it works.....

2 Answers  


what is meant by linking error? how can i solve it? if there is a linking error " unable to open file 'cos.obj'? then what should i do?

1 Answers  






who was the present cheif governor of reserve bank of india

6 Answers   State Bank Of India SBI,


what is run time error?

7 Answers  


main() { char c; for(c='A';c<='Z';c++) getch(); }

9 Answers  


write a profram for selection sort whats the error in it?

2 Answers  


errors are known as?

3 Answers   EX, State Bank Of India SBI,


UINT i,j; i = j = 0; i = ( i++ > ++j ) ? i++ : i--; explain pls....

5 Answers  


#include<stdio.h> void main() { int i=1; printf("%d%d%d",i++,++i,i); }

19 Answers  


Categories