Can we make any program in c++ without using any header file and what is the shortest program in c++.
What is main function in c++ with example?
Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)
Write a String class which has: 1) default constructor 2) copy constructor 3) destructor 4) equality operator similar to strcmp 5) constructor which takes a character array parameter 6) stream << operator
2 Answers HCL, Lehman Brothers, Zoomerang,
What methods can be overridden in java?
What is the use of "new" operator?
What is the identity function in c++? How is it useful?
What does ctime() do?
write a c++ program that gives output 4 3 4 2 3 4 1 2 3 4 using looping statement
Specify some guidelines that should be followed while overloading operators?
given unsigned int ui1=3,ui2=7; what are the outputs of a)ui1 & ui2 b)ui1 && ui2 c)ui1 | ui2 d)ui1 || ui2 i also need the justification for the answers thank you
write a C++ programming :if the no is between 32 to 50 it will be odd.
Incase of a function declaration, what is extern means?