which of the following statement is wrong
a) mes=123.56;
b) con='T'*'A';
c) this='T'*20;
d) 3+a=b;
No Answer is Posted For this Question
Be the First to Post Answer
cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration
Finding first/last occurrence of a character in a string without using strchr( ) /strrchr( ) function.
Explain how does free() know explain how much memory to release?
What are predefined functions in c?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
what is an inline fuction??
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
What is data type long in c?
What is the difference between text and binary i/o?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
How can we see the Expanded source code and compiled code for our source program in C?
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array