How to create a program that lists the capital country when told what the original country is? (Terribly sorry, I'm a novice programmer and would appreciate any help ;).


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C C++ Errors Interview Questions

Why are memory errors hard to debug?

1 Answers  

loop1: { x=i<n?(i++):0; printf("%d",i); exit(x); continue; } Error- misplaced continue. Doubt-1.will the exit(x) be executed for all values of x 2.will this statement go out of the program.

5 Answers   CMC,

void main() { for(int i=0;i<5;i++); printf("%d",i); } What is the output?..

31 Answers   College School Exams Tests, CTS, HCL, iGate, SmartData,

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,

what is syntax error?

3 Answers  

How to convert hexadecimal to binary using c language..

1 Answers   Bajaj, GAIL, Satyam, Zenqa,

void main() { int i=7; printf("N= %*d",i,i); }

6 Answers   HCL,

A sample program using data structure? what is file handling?

0 Answers   TCS,

void main() { int i=1; printf("%d%d%d",i,++i,i++); } Cau u say the output....?

24 Answers   HCL,

Write a C program to enter 10 integer numbers through one variable and count how many of them are even using while loop ?

2 Answers  

Find the error (2.5*2=5) (a) X=y=z=0.5,2.0-5.75 (b) s=15;

3 Answers  

How to reverse a linked list without using array & -1? Thank you.

2 Answers   Access, Satyam,