C++ interview preparation Quiz 2 Welcome to your Fresher Interview Preparation - C++ Skills - 2 Name Email Phone Number 1. ____________ copies the actual value of an argument into the formal parameter of thefunction.Call by pointerCall by referenceCall by valuenone2. An ____________ operator is a symbol that tells the compiler to perform specific mathematicalor logical manipulations.numeratordenominatornoneoperator3. All arrays consist of ______________ memory locationsdiscontinuenonecontiguousdata4. To access date and time related functions and structures, you would need to include _____ inyour C++ program.none5. _________ convert one data type to another.onedecasting operatorscasting operatorsdenominator6. A ______________ tells the compiler about a function's name, return type and parameters.addressfunction declarationfunctionnone7. By default c++ uses __________ to pass arguments.call by valuenonecall by methodcall by reference8. A __________ allows us to execute a statement or group of statements multiple times.nonestatementloop statementdo9. _______________ causes a sequence of operations to be performed.comma operatoroperatordot operatornone10. _____________ Like a while statement , except that it tests the condition at the end of the loopbody.nonewhile loopfor loopdo while loop11. __________ executes a sequence of statements multiple times.noneif loopwhile loopfor loop12. The arraysize must be an ________ constant.doublefloatintegernone13. ________________ is a constant with a value of zero defined in several standard libraries.data pointersnonedev pointersNull pointers14. There are ____________ types of decision making statementsfourthreefivenone15. __________operator can be used to replace if..else statements.datanoneconditionaldirectional16. If bytes flow from a device like a keyboard, a disk drive or a network connection to mainmemory this is called _____.datanoneoutput operationInput operation17. There are _________ parts of a function :nonetwothreefour18. There are ________ arithmetic operators that can be used on pointerstwofourthreeone19. What is the name of the header file which helps you to do mathematical operationsnone20. A loop becomes ______ loop if a condition never becomes false.definitenoneinfinitelimit21. ____________will only return a pseudo random number.nonerandom()rand()ran()22. The Structure type ____ holds the date and time in the form of a C structure .nonebmtmpn23. _____________ copies the reference of an argument into the formal parametercall by valuecall by referencenonecall by method24. A ____________ variable is an alias that is another name for an already existing variable.nonevariabledatareference variable25. In array highest address corresponds to the __________.first elementfourth elementthird elementlast element26. Multiplication operator has ___________ precedence than the addition operatorlowerhigherdiffernone27. A _______________ provides the actual body of the functionfunctionfunction definitionobjectsnone28. _____________ are used to reference individual members of classess, structures and unions.dotmember operatorsfunctionnone29. The C-style character string is actually a one-dimensional array of characters which isterminated by a _________ character '\0'.noneformatnulldata30. A ________ is known with various names like a method or a subroutine or a procedurememoryobjectfunctionnone31. ___________ returns the size of a variable.sizeofdefnonetypeof32. There are ________ types of referencesnonethreetwoone33. Every C++ program has atleast one _______ function.address ()memory ()main()none34. A _______ is a variable whose value is the address of another variable.nonevaluedata structurepointer35. An ___________is accessed by indexing the array name.structuredatanoneelement36. Which one is valid pointer declarartion ?*ip int&& intint *ipnone37. _____________ copies the address of an argument into the formal parameter.call by valuecall by pointernonecall by address38. A _____________ is a group of statements that together perform a task.objectaddressfunctionnone39. In array lower address corresponds to the ___________nonelast elementfirst elementsecond element40. ____________ returns the address of a variable.$&none@41. C++ allows a function to return an ______arraydatanonestructure42. C++ provides _________ types of string representations:nonethreeonetwo43. _________ are usually used for function arguments lists and function return values.noneReferencesdatavalue44. There are _________ ways that arguments can be passed to a function:ThreenoneTwoOne45. ++ increases integer value by ______twoonethreenone46. An _________ is used to store a collection of data.areaarraynonedata structure47. we can define arrays to hold a number of ___________.datanoneunionpointers48. There are _______ time related types in C++.noneonethreefour49. ___________ repeats a statement or group of statement while a given condition is true.while loopf loopfor loopnone50. -- decreases integer value by ______onethreetwononePlease fill in the comment box below. Time is Up!