How to create a program that lists countries capitals when country is entered? (Terribly sorry, I'm a complete novist to coding with C, am looking for inspiration and general tips on how to code and create this program.)
No Answer is Posted For this Question
Be the First to Post Answer
To generate the series 1+3+5+7+... using C program
Find the error (2.5*2=5) (a) X=y=z=0.5,2.0-5.75 (b) s=15;
main() { char c; for(c='A';c<='Z';c++) getch(); }
void main() { int i=7; printf("N= %*d",i,i); }
Write a c-programe that input one number of four digits and find digits sum?
What are the different types of errors in C and when they occur?
Given that two int variables, total and amount, have been declared, write a loop that reads integers into amount and adds all the non-negative values into total. The loop terminates when a value less than 0 is read into amount. Don't forget to initialize total to 0. Instructor's notes: This problem requires either a while or a do-while loop.
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.....
How to upgrade LOOP environment, I just mean, how can i make loop statement editable ? I just try some program using loop statement and checking it in multiple compilers. Every compiler showing different output, what's the wrong ? is it a compiler based problem, or loop based problem, tell me why ? and what will be the debugging process, for this kind of problem ?
wap for bubble sort
what is meant for variable not found?
What is the code for following o/p * * * * * * * * * * * * * * * *