Datatypes November 26, 2020December 21, 2020wefru C Programming Quiz on Datatype 6 Created on November 26, 2020 By wefruDatatypeTEST YOUR BROAD SKILLS 1 / 10Q.111 Which of the following is true for variable names in C? Variable names cannot start with a digit Variable can be of any length They can contain alphanumeric characters as well as special characters None of the above 2 / 10Q.112 Which is valid C expression? int my_num = 100,000; int my_num = 100000; int my num = 1000; int $my_num = 10000; 3 / 10Q.113 Which of the following is not a valid variable name declaration? float PI = 3.14; double PI = 3.14; int PI = 3.14; #define PI 3.14 4 / 10Q.114 What is the problem in the following variable declaration?float 3Bedroom-Hall-Kitchen?; The variable name begins with an integer The special character ‘-‘ The special character ‘?’ All of the mentioned 5 / 10Q.1115 Which of the following cannot be a variable name in C? volatile true friend export 6 / 10Q.116 The format identifier ‘%i’ is also used for _____ data type char int float double 7 / 10Q.117 Which data type is most suitable for storing a number 65000 in a 32-bit system? signed short unsigned short long int 8 / 10Q.118 Which of the following is a User-defined data type? typedef int Boolean; typedef enum {Mon, Tue, Wed, Thu, Fri} Workdays; struct {char name[10], int age}; all of the mentioned 9 / 10Q.119 What is the size of an int data type? 4 Bytes 8 Bytes Depends on the system/compiler Cannot be determined 10 / 10Q.120 What is short int in C programming? The basic data type of C Qualifier Short is the qualifier and int is the basic data type All of the mentioned Your score isThe average score is 47% LinkedIn Facebook Twitter VKontakte 0% Restart quiz