download Mastguru Android App

Question Detail

We can insert pre written code in a C program by using

  • #read
  • #get
  • #include
  • #put
Similar Questions :

1. The compiler in C ignores all text till the end of line using

  • //
  • /
  • */
  • none of above

2. Difference between calloc() and malloc()

  • calloc() takes a single argument while malloc() needs two arguments
  • malloc() takes a single argument while calloc() needs two arguments
  • malloc() initializes the allocated memory to ZERO
  • calloc() initializes the allocated memory to NULL

3. calloc() belongs to which library

  • stdlib.h
  • malloc.h
  • calloc.h
  • None of above

4. What is the purpose of getc()

  • read a character from STDIN
  • read a character from a file
  • read all file
  • read file random

5. If (*p) and **p is same

  • No
  • Yes
Read more from - C Programming Questions Answers - Chapter 1
Post a comment

  • andy john 7 years ago

    Learn and practice GK,TET, Aptitude questions and answers with explanation for interview http://www.gkindiaonline.com/

  • superior papers.com 8 years ago

    This set of questions that you have shared looks pretty wonderful and useful to be used by those people who wanted to test the skills of their students or someone that they need to be tested.

  • Syed Haider Abbas Zaidi 9 years ago

    Thanks aaa

  • Om Rankers Creator 10 years ago

    Be your own boss with pleasure builder dot com .....