Differentiate between functions getch() and getche().
No Answer is Posted For this Question
Be the First to Post Answer
write a program wch produces its own source code aas its output?
Linked lists -- can you tell me how to check whether a linked list is circular?
write a programe returns the number of times the character appears in the string
What is the difference between array and pointer?
Write a program to enter the name and age. If age>28 then find salary categories. if age<28 then find that you are gaduate or not.
How can I set an array's size at run time?
How macro execution is faster than function ?
what is the output for this question: main() { int i=1; printf("%d%d%d",i,i++,++i); }
i=20,k=0; for(j=1;j<i;j=1+4*(i/j)) { k+=j<10?4:3; } printf("%d", k);
#define min((a),(b)) ((a)<(b))?(a):(b) main() { int i=0,a[20],*ptr; ptr=a; while(min(ptr++,&a[9])<&a[8]) i=i+1; printf("i=%d\n",i);}
Just came across this question, felt worth sharing, so here it is I want you to make a C/C++ program that for any positive integer n will print all the positive integers from 1 up to it and then back again! Let's say n=5 I want the program to print: 1 2 3 4 5 4 3 2 1. Too easy you say? Okay then... You can ONLY USE: 1 for loop 1 printf/cout statement 2 integers( i and n) and as many operations you want. NO if statements, NO ternary operators, NO tables, NO pointers, NO functions!
Combinations of fibanocci prime series