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
Answers were Sorted based on User's Feedback
Main must be written as a.the first function in the program b.Second function in the program c.Last function in the program d.any where in the program
19 Answers CTS, HCL, TCS,
Define Array of pointers.
which is the best antivirus and how to update it
Write a program in C to reverse a number by recursive function?
Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 1. Print only the alphabets . If in upper case print in lower case vice versa.
define c
What is the restrict keyword in C?
write a c programs to do multiplication of two numbers with out using arithmatic operator ??????????
How do we select the big element or any other operation from array which is read dynamically. user need to give the elements only no need to mention the size.
write a program for even numbers?
How to reverse a string using a recursive function, with swapping?
What does typeof return in c?