Answer Posted / revathi
the clrscr()inside the main() just clears the screen.
where the clrscr() outside the main() won't do any action.
it just act as a declaration.
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
Why use int main instead of void main?
Can you mix old-style and new-style function syntax?
Why array is used in c?
What is string function c?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
How many loops are there in c?
What is the default value of local and global variables in c?
Tell me the use of bit field in c language?
What is self-referential structure in c programming?
If fflush wont work, what can I use to flush input?
What is character set?
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
What is the main difference between calloc () and malloc ()?