C++ interview preparation Quiz 2 Welcome to your Fresher Interview Preparation - C++ Skills - 2 Name Email Phone Number 1. There are ________ arithmetic operators that can be used on pointersthreetwoonefour2. A _______________ provides the actual body of the functionfunctionnonefunction definitionobjects3. There are ____________ types of decision making statementsfournonethreefive4. Which one is valid pointer declarartion ?int *ip&& intnone*ip int5. ____________ returns the address of a variable.@none$&6. _______________ causes a sequence of operations to be performed.comma operatoroperatornonedot operator7. By default c++ uses __________ to pass arguments.call by methodcall by referencecall by valuenone8. ________________ is a constant with a value of zero defined in several standard libraries.Null pointersdev pointersnonedata pointers9. There are _________ ways that arguments can be passed to a function:OneThreeTwonone10. A loop becomes ______ loop if a condition never becomes false.definitelimitinfinitenone11. The C-style character string is actually a one-dimensional array of characters which isterminated by a _________ character '\0'.datanoneformatnull12. _____________ Like a while statement , except that it tests the condition at the end of the loopbody.for loopwhile loopdo while loopnone13. C++ provides _________ types of string representations:nonethreetwoone14. _________ convert one data type to another.onedenominatordecasting operatorscasting operators15. -- decreases integer value by ______noneonetwothree16. __________ executes a sequence of statements multiple times.for loopwhile loopnoneif loop17. C++ allows a function to return an ______nonedataarraystructure18. Multiplication operator has ___________ precedence than the addition operatornonelowerdifferhigher19. There are ________ types of referencesnonethreetwoone20. There are _______ time related types in C++.threefouronenone21. A __________ allows us to execute a statement or group of statements multiple times.dostatementnoneloop statement22. In array highest address corresponds to the __________.third elementlast elementfourth elementfirst element23. _____________ copies the address of an argument into the formal parameter.call by valuecall by addresscall by pointernone24. ____________will only return a pseudo random number.random()ran()nonerand()25. _____________ copies the reference of an argument into the formal parametercall by valuecall by referencenonecall by method26. All arrays consist of ______________ memory locationscontiguousdiscontinuenonedata27. ___________ repeats a statement or group of statement while a given condition is true.while loopfor loopnonef loop28. An ___________is accessed by indexing the array name.datanonestructureelement29. An _________ is used to store a collection of data.nonearraydata structurearea30. ___________ returns the size of a variable.deftypeofsizeofnone31. Every C++ program has atleast one _______ function.nonemain()memory ()address ()32. If bytes flow from a device like a keyboard, a disk drive or a network connection to mainmemory this is called _____.datanoneInput operationoutput operation33. A ____________ variable is an alias that is another name for an already existing variable.variablereference variablenonedata34. To access date and time related functions and structures, you would need to include _____ inyour C++ program.none35. we can define arrays to hold a number of ___________.unionpointersnonedata36. The arraysize must be an ________ constant.floatnoneintegerdouble37. The Structure type ____ holds the date and time in the form of a C structure .bmnonepntm38. A ______________ tells the compiler about a function's name, return type and parameters.functionfunction declarationaddressnone39. _________ are usually used for function arguments lists and function return values.noneReferencesvaluedata40. __________operator can be used to replace if..else statements.datadirectionalnoneconditional41. In array lower address corresponds to the ___________last elementsecond elementfirst elementnone42. A ________ is known with various names like a method or a subroutine or a procedureobjectfunctionnonememory43. A _____________ is a group of statements that together perform a task.nonefunctionaddressobject44. _____________ are used to reference individual members of classess, structures and unions.member operatorsnonedotfunction45. A _______ is a variable whose value is the address of another variable.valuenonedata structurepointer46. An ____________ operator is a symbol that tells the compiler to perform specific mathematicalor logical manipulations.numeratoroperatornonedenominator47. There are _________ parts of a function :nonethreetwofour48. What is the name of the header file which helps you to do mathematical operationsnone49. ++ increases integer value by ______twothreenoneone50. ____________ copies the actual value of an argument into the formal parameter of thefunction.noneCall by pointerCall by valueCall by referencePlease fill in the comment box below. Time is Up!