2)#include<iostream.h>
main()
{
printf("Hello World");
}
the program prints Hello World without changing main() the
o/p should
be
intialisation
Hello World
Desruct
the changes should be
a)iostream operator<<(iostream os, char*s)
os<<'intialisation'<<(Hello World)<<Destruct
b) c) d)none of the above
Answer Posted / beedha
b
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Is c procedural or functional?
Write a code on reverse string and its complexity.
What is the deal on sprintf_s return value?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
Distinguish between actual and formal arguments.
Explain what header files do I need in order to define the standard library functions I use?
How to draw the flowchart for structure programs?
What are volatile variables in c?
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?
What is time complexity c?
How reliable are floating-point comparisons?
What are 3 types of structures?
Which header file is used for clrscr?
Why isn't any of this standardized in c? Any real program has to do some of these things.
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a