full c programming error question based problem
Answers were Sorted based on User's Feedback
Answer / anusha
some of the companies are giving 2 to 3 pages of large programmes with some errors and they are asking to pick those errors...so please provide such type of sample programmes
Is This Answer Correct ? | 7 Yes | 2 No |
wap for bubble sort
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.
char* f() return "hello:"; void main() {char *str=f(); }
full c programming error question based problem
Given that two int variables, total and amount , have been declared, write a sequence of statements that: initializes total to 0 reads three values into amount , one at a time. After each value is read in to amount , it is added to the value in total (that is, total is incremented by the value in amount ). Instructor's notes: If you use a loop, it must be a for loop. And if you use a loop control variable for counting, you must declare it.
which typw of errors ? & how to solve it ?
printy(a=3,a=2)
how to convert decimal to binary in c using while loop without using array
50 Answers Apple, Aptech, Arwen Tech, BCS, C2D Software, CEC,
To generate the series 1+3+5+7+... using C program
class test { int a; public: test(int b):a(b){} void show(){ cout<<a; } }; void main() { test t1; test t2(5); t1.show(); t2.show(); } }
UINT i,j; i = j = 0; i = ( i++ > ++j ) ? i++ : i--; explain pls....
how to convert decimal to hexadecimal without using arrays just loops