C interview preparation Quiz 1 Welcome to your Fresher Interview Preparation - C language Skills - 1 Name Email Phone Number 1. Below statement is valid or Invalid statement10 = 20 ;InvalidIncorrect questionNonevalid2. A function with no parameter can accept a void.FalseNoneTrueIncorrect question3. Suppose if you want to use a d variable (int) in another program then how to define avariable ?extern int d;Noneextern d;external d4. sizeof() returns the size of a __________dynamicfunctionNonevariable5. C was initially used forNonesystem development workcpuprocessor work6. Character literals are enclosed in __________ quotes.Nonetriplesingledouble7. You cannot have comments within comments in C.TrueFalseNoneIncorrect Question8. The register storage class is used to define local variables that should be stored in a registerinstead of _______.RAMFloppy diskNoneDisk9. What is the output of the below statementprintf(“size for int : %d \n”, sizeof(int));43None210. The & returns the ______ of a variable.Noneaddressfunctionvalue11. How to compile the hello.c ?gcc hello.cgcd hello.cgcb hello.cNone12. at are the two kind of expression exist in C ?dvalue and svaluefvalue and kvaluelvalue and rvalueNone13. What is the name of the laboratories where c language is developed ?Trump Telephone LaboratoriesBell Telephone LaboratoriesNoneIan Telephone Laboratories14. C is a successor of ___________ languageNoneACB15. The extern storage class is used to give a reference of a global variable that is visible to all the__________.program fileslinked filesNonedata files16. C is a ______________ programming language.case-sensitiveform-sensitiveNoneletter-sensitive17. Constants are also referred as literals.Incorrect questionFalseNoneTrue18. What are the four different storage classes in a C programNoneauto, register,staticand externalauto, register, static and externmoto, register, static and extern19. What is the command used to check the version of the GCC in Linux ?command: ggg -vcommand: ggc -vNonecommand: gcc -v20. Making local variables static allows them to maintain their values between ______ calls.DysfunctionNonefunctionthread21. String literals are enclosed in ______ quotesdoubletripleNonesingle22. An operator is a symbol that tells the compiler to perform specific ________ functionsmagicaldynamiclogicalNone23. printf (“Hello, world! \n”); consist of how many tokens ?threenoneFiveFour24. What is the name of the editor which is used to edit a program file ?VimKimDimNone25. RDBMS Mysql have been written in ________PythonCJavanone26. The language was formalized in 1988 by theNoneIIMANSI (American national standard Institute)IIT27. An Integer literal can be a decimal, octal, or hexadecimal constant.FalseTrueNoneIncorrect question28. What is the use of the identifiers ?NoneIdentify a valueIdentify a signaturedentify a variable, function or any other user-defined item.29. What are the two simple ways in C to define constants ?def and cons#define preprocessor and const keywordNonedefined and constant30. below statement how many number of whitespace is present ?Int age;12None331. What are the two basics software tools needed to setup environment for C programminglanguage ?text editor and C compilertext editorNoneC compiler32. C is a ________________ computer programming languageNoneobject typegeneral purpose, procedural & imperativefile type33. It is a good programming practice to define constant in _______Nonecapitalssmallwords34. Whitespace is the term used in C to describe blanks, tabs, newline characters and comments.FalseIncorrect QuestionTrueNone35. The Unix OS was totally written in ___________NonePythonCJava36. What is the storage size of the float and double ?2 and 44 and 81 and 2None37. A variable definition tells the compiler where and how much storage to create for the variableIncorrect AnswerTrue1FalseNone38. The semicolon is a statement terminator.FalseNoneIncorrect questionTrue39. What is the name of the function where the program execution begins ?int ()int cmain()int main()None40. A float-point has an _________,decimal point , a fractional part, and an exponent part.valid partNoneInteger partInvalid part41. What is the size of the char and int ?3 bytes and 4 bytesNone2 bytes and 2 bytes1 byte and 2 or 4 bytes42. A pointer of type void * represents the address of an object but not its typeTrueFalseNoneIncorrect question43. The name of a variable must begin with either a letter or an underscore.TrueNoneFalseIncorrect question44. A function with no return value has the return type asNonevoidavoidDevoid45. The ________ storage class is the default storage class for all local variablesNoneautoregisterstatic46. Bitwise operator work on ______bytebitNonepattern47. Suppose if you want to ignore certain line in the program then what you need to put before theline and end of the line ?/*/* ...*/*...*\None48. Reserved words may not be used as constants or variables or any other identifier names.TrueIncorrect QuestionFalseNone49. What is the name of the command which tells a C compiler to include stdio.h file before goingto actual compilation ?#include#include#include None50. What is the extension of the c program ?.c.yNone.c51. C is developed byMark HenryDennis M. RitchieNoneMark ZuckerbergPlease fill in the comment box below. Time is Up!