Practice examples on c language for beginners

Solve these questions by your own: 




Q.1. Who designed and written C language?
(a)                                          (b) Dennis Ritchie
(c)                                           (d)

Q.2. In C language array fall under which category of constants?
(a) Primary                          (b) Secondary

Q.3. Which of the following int variable eligible to stored?
(a) 264                                   (b) 2.38
(c) logicalprog                    (d) None of these

Q.4.  Which of the following arithmetic operations can be performed?
(a) int                                    (b) float
(c) char                                 (d) All of these

Q.5.              
                                                                                        
                
Which of the following output is correct?
(a) 2                                       (b) 0
(c) 9                                        (d) 1

Q.6.  which of the following is true on priority basis?
(a) * / %  >  + -  > =           (b) * / %  <  + -  < =
(c) * / %  >  + -  < =           (d) * / %  =  + -  = =

Q.7.  What will be the output?
If i =2*3/4+4/4+8-2+5/8
(a) 2                                       (b)-4
(c)-3                                       (d)8

Q.8.


Which line is error?
(a) 1                                       (b) 4
(c)5                                        (d)6

Q.9.  In which year C language came into existence?
(a)1971                                 (b)1957
(c)1972                                 (d)1983

Q.10 A character variable can at a time store?
(a) 1 character                   (b) 8 character
(c)  254 character             (d) None of these 
-------------------------------------------------------- 

watch the video answers are given

Comments

Popular posts from this blog

TOP 10 PROGRAMMING LANGAUAGES COMMING 2021 | ARTICLE

Write a C-program to swap two number:

Find Factorial using Recursion | C Program: