Search This Blog

Friday, April 4, 2025

functions and pointers Program 1

 What will happen when you run this program?




   a) Compile time error: mismatch of data type of function argument in line 7
   b) Prints garbage
   c) Prints 11 and 21
   d) Prints 11 and 22

Type your answer in a comment.



printf and scanf functions

 In which of the following header files printf and scanf functions are included?

a) inout.h

b) stdlib.h

c) stdio.h

d) io.h


Provide your answer in a comment.

Thursday, April 3, 2025

Can you guess which of these is a keyword of C Programming Language?

 Which of the following is a keyword of C Programming language?

a) printf

b) scanf

c) sizeof

d) getstr


Type the answer in a comment

Wednesday, April 2, 2025

Datatype int in C

 What is the size of an int (integer) in the C language?

a) 1 byte

b) 2 bytes

c) 4 bytes

d) depending on OS