For initialization a = 2, c = 1 the value of a and c after this code will be c = (c) ? a = 0 : 2; options: 1.a = 0, c = 0; 2.a = 2, c = 2; 3.a = 2, c ...
SIKSHAPATH Latest Questions
DEV.CSE
Asked: January 25, 2022In: C language
Which of the following is not user defined data type? 1 : struct book { char name[10]; float price; int pages; }; 2 : long int l = 2.35; 3 : enum day {Sun, Mon, Tue, Wed};
DEV.CSE
Asked: January 25, 2022In: Programming Language
1.A variable declared in a function can be used in main(). A. True B. False C. True if it is declared static D. None of the mentioned 2.What is the precedence of arithmetic operators (from highest to lowest)? A. %, *, /, +, – B. %, +, /, *, – C. +, -, %, *, ...
DEV.CSE
Asked: January 25, 2022In: Programming Language
1.Which of the following declaration is not supported by C? A. String str; B. char *str; C. float str = 3e2; D. Both String str; & float str = 3e2; 2.Which of the following declaration is illegal? A. char *str = “Best C programming classes by Sanfoundry”; B. char str[] = “Best ...