aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Data Structure
  • In 'C', malloc ( ) function returns a pointer to
Multiple choice

In 'C', malloc ( ) function returns a pointer to

  1. Integer

  2. Character

  3. Structure

  4. String

Reveal answer Fill a bubble to check yourself
A Correct answer

Keep practicing — related questions

  • Casting the return value from malloc function is necessary.
  • Casting the return value from malloc function is necessary.
  • What will print out? main() { char *p1=“name”; char *p2; p2=(char*)malloc(20); memset (p2, 0, 20); while(*p...
  • What would be the output of the following program? main() { char *str,*str1="I Love You"; str=malloc(strlen...
  • 2.What will print out? main() { char *p1=“name”; char *p2; p2=(char*)malloc(20); memset (p2, 0, 20); while(...
  • int *p(char *a)
  • int p(char *a)
  • What will be the output for... main() { char *p1=“name”; char *p2; p2=(char*)malloc(20); memset (p2, 0, 20)...
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Programming Fundamentals (2381 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy