Q35: Write only one printf() statement to print the following: This is Gita’s score, She got 85% “in SSC exam”.
A35: printf("This is Gita's score,\nShe got 85%% \"in SSC exam\".");
September 29, 2023A35: printf("This is Gita's score,\nShe got 85%% \"in SSC exam\".");
Myown Computer Blog
September 29, 2023
A34: (1) 1.234e – 4.0: It is invalid because -4.0 is not an integer. (2) 0.0879: It is valid because it follows all…
Myown Computer Blog
September 29, 2023
A33: Output = 3 1
Myown Computer Blog
September 29, 2023
A32: (1) Number1st. It is valid because it follows all the rules. (2) 1Rupees#. It is not valid because it …
Myown Computer Blog
September 29, 2023
A31: Output = Z.
Myown Computer Blog
September 29, 2023
A30: In 32-bit Architecture Output = 32767. In 64-bit Architecture Output = -32769.
Myown Computer Blog
September 29, 2023
A29: '\n' (Newline): It represents the newline character and is used to indicate the end of a line of text an…
Myown Computer Blog
September 29, 2023
A28: It is a file that contains declarations, prototypes, and definitions of functions, variables, constants that can …
Myown Computer Blog
September 29, 2023
A27: (i) Program: A program is a set of instructions for a computer to follow which is saved in a file. (ii) main: I…
Myown Computer Blog
September 29, 2023
A26: (iv) varchar is not the C Keyword.
Myown Computer Blog
September 29, 2023
A25: Advantages: · It is fast and efficient. · It has predefined library functions. · It is po…
Myown Computer Blog
September 29, 2023
A24: getchar(): This function is used to read a single character from the standard input. Syntax: int getchar(void…
Myown Computer Blog
September 29, 2023
A23: Rules for define variables: 1. It should begin with alphabet or underscore. 2. Only alphabets, numb…
Myown Computer Blog
September 29, 2023
A22: Storage classes define the scope, lifetime, and visibility of variables within a program. Each variable in C ha…
Myown Computer Blog
September 29, 2023
A21: Enumerated data type and Typedef data type are the user define data type. Enumerated Data Type: It is us…
Myown Computer Blog
September 29, 2023
A20: C is often referred to as a "middle-level language" because it combines features of both high-level a…
Myown Computer Blog
September 29, 2023
A19: Modifiers are used to modify the data type of variables for changing the range or storage size of variables. The…
Myown Computer Blog
September 29, 2023
A18: Type Casting: Type casting refers to the explicit conversion of a value from one data type to another. Type ca…
Myown Computer Blog
September 29, 2023
A17: Step 1: Open turbo C IDE, click on File, and then click on New. Step 2: Write the C program code. Step 3: Cl…
Myown Computer Blog
September 29, 2023
A16: (1) 1total: It starts with a digit. (2) find result: It contains white space. (3) count$: It contains …
Myown Computer Blog
September 29, 2023