C interview preparation Quiz 1 Welcome to your Fresher Interview Preparation - C language Skills - 1 Name Email Phone Number 1. An operator is a symbol that tells the compiler to perform specific ________ functionsdynamicNonelogicalmagical2. Suppose if you want to ignore certain line in the program then what you need to put before theline and end of the line ?None/**...*\/* ...*/3. You cannot have comments within comments in C.FalseIncorrect QuestionTrueNone4. sizeof() returns the size of a __________dynamicfunctionvariableNone5. A variable definition tells the compiler where and how much storage to create for the variableFalseIncorrect AnswerTrue1None6. C is developed byMark HenryMark ZuckerbergDennis M. RitchieNone7. The register storage class is used to define local variables that should be stored in a registerinstead of _______.RAMDiskFloppy diskNone8. Suppose if you want to use a d variable (int) in another program then how to define avariable ?external dextern int d;extern d;None9. The Unix OS was totally written in ___________JavaPythonCNone10. The & returns the ______ of a variable.functionNonevalueaddress11. What is the name of the command which tells a C compiler to include stdio.h file before goingto actual compilation ?#include#include #includeNone12. RDBMS Mysql have been written in ________CnoneJavaPython13. How to compile the hello.c ?Nonegcd hello.cgcb hello.cgcc hello.c14. C is a ________________ computer programming languageobject typefile typeNonegeneral purpose, procedural & imperative15. The ________ storage class is the default storage class for all local variablesregisterNonestaticauto16. Below statement is valid or Invalid statement10 = 20 ;InvalidNoneIncorrect questionvalid17. What are the two simple ways in C to define constants ?def and consdefined and constantNone#define preprocessor and const keyword18. What is the use of the identifiers ?dentify a variable, function or any other user-defined item.NoneIdentify a signatureIdentify a value19. Constants are also referred as literals.TrueFalseIncorrect questionNone20. at are the two kind of expression exist in C ?dvalue and svaluelvalue and rvaluefvalue and kvalueNone21. What is the name of the function where the program execution begins ?int main()int ()Noneint cmain()22. What are the four different storage classes in a C programauto, register,staticand externalauto, register, static and externmoto, register, static and externNone23. C is a ______________ programming language.letter-sensitiveform-sensitiveNonecase-sensitive24. What is the extension of the c program ?.c.c.yNone25. The name of a variable must begin with either a letter or an underscore.Incorrect questionFalseNoneTrue26. C was initially used forprocessor workcpuNonesystem development work27. C is a successor of ___________ languageABCNone28. String literals are enclosed in ______ quotestripledoublesingleNone29. Whitespace is the term used in C to describe blanks, tabs, newline characters and comments.TrueNoneFalseIncorrect Question30. What is the name of the editor which is used to edit a program file ?VimNoneKimDim31. The language was formalized in 1988 by theIITANSI (American national standard Institute)NoneIIM32. Bitwise operator work on ______byteNonebitpattern33. The extern storage class is used to give a reference of a global variable that is visible to all the__________.data filesNoneprogram fileslinked files34. What are the two basics software tools needed to setup environment for C programminglanguage ?text editor and C compilertext editorC compilerNone35. What is the output of the below statementprintf(“size for int : %d \n”, sizeof(int));43None236. An Integer literal can be a decimal, octal, or hexadecimal constant.NoneIncorrect questionTrueFalse37. What is the name of the laboratories where c language is developed ?Trump Telephone LaboratoriesNoneBell Telephone LaboratoriesIan Telephone Laboratories38. A function with no return value has the return type asDevoidNoneavoidvoid39. Character literals are enclosed in __________ quotes.tripleNonedoublesingle40. Making local variables static allows them to maintain their values between ______ calls.NonethreadDysfunctionfunction41. A float-point has an _________,decimal point , a fractional part, and an exponent part.Integer partvalid partInvalid partNone42. It is a good programming practice to define constant in _______Nonecapitalswordssmall43. A function with no parameter can accept a void.NoneFalseTrueIncorrect question44. What is the command used to check the version of the GCC in Linux ?command: gcc -vNonecommand: ggc -vcommand: ggg -v45. What is the size of the char and int ?3 bytes and 4 bytes2 bytes and 2 bytesNone1 byte and 2 or 4 bytes46. below statement how many number of whitespace is present ?Int age;312None47. printf (“Hello, world! \n”); consist of how many tokens ?threeFournoneFive48. Reserved words may not be used as constants or variables or any other identifier names.FalseTrueNoneIncorrect Question49. The semicolon is a statement terminator.Incorrect questionTrueFalseNone50. What is the storage size of the float and double ?4 and 81 and 2None2 and 451. A pointer of type void * represents the address of an object but not its typeNoneIncorrect questionFalseTruePlease fill in the comment box below. Time is Up!