ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
What is Heap?
 Question Submitted By :: Harshal
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is Heap?
Answer
# 1
Heap is for being free memory.
 
Is This Answer Correct ?    1 Yes 0 No
Harshal
 
  Re: What is Heap?
Answer
# 2
A data structure called heap is a binary tree with keys 
assigned to its nodes provided it satisfies two 
requirements:

1. Tree shape requirement.
2. Parental domainance requirement.
 
Is This Answer Correct ?    0 Yes 0 No
Nisha Nair
 
 
 
  Re: What is Heap?
Answer
# 3
Heap is portion of memory which is allocated with program
address space when the program require memory at run time, 
the memory from heap is allocated.apart from this all global
variables are also allocated their space from heap.
 
Is This Answer Correct ?    2 Yes 0 No
Anurag
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
Write a program to interchange two variables without using the third variable? Accenture11
Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; } } Which Statement is/are True w.r.t the above code? I.Executes Successfully & Prints the contents of the array II.Gives the Error:Lvalue Required III.The address of the array should not be changed IV.None of the Above. A)Only I B)Only II C)II & III D)IV Accenture3
How do I initialize a pointer to a function?  2
what is the diference between pointer to the function and function to the pointer?  2
What is an object?  3
main() { float a=8.8; double b=8.8; if(a==b) printf("Equal"); else printf("not equal"); getch(); } what is the output? with reason  3
9.how do you write a function that takes a variable number of arguments? What is the prototype of printf () function? 10.How do you access command-line arguments? 11.what does ‘#include<stdio.h>’ mean? 12.what is the difference between #include<> and #include”…”? 13.what are # pragma staments? 14.what is the most appropriate way to write a multi-statement macro?  1
Write a program for the following series: 1*3*5-2*4*6+3*5*7-4*6*8+.................up to nterms Convex-Digital4
How would you sort a linked list?  1
f(x,y,z) { y = y+1; z = z+x; } main() { int a,b; a = 2 b = 2; f(a+b,a,a); print a; } what is the value of 'a' printed  4
macros and function are related in what aspect? a)recursion b)varying no of arguments c)hypochecking d)type declaration HCL8
prototype of sine function. Cadence2
How can we see the Expanded source code and compiled code for our source program in C?  1
Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 1. Print only the alphabets . If in upper case print in lower case vice versa.  1
What are the uses of pre-processor directives?  2
Which of the Following will define a type NODE that is a node in a Linked list? A)struct node {NODE*next;int x;};type def struct node NODE; B)typedef struct NODE {struct NODE *next;int x;}; C)typedef struct NODE {NODE *next;int x;}; D)typedef struct {NODE *next;int x;}NODE; Accenture4
who did come first hen or agg Infosys12
program to find the second largest word in a paragraph amongst all words that repeat more thn twice iGate3
i want to have a program to read a string and print the frequency of each character and it should work in turbo c  2
which of the following statements is incorrect a.typedef struct new{ int n1; char n2; } DATA; b.typedef struct { int n3; char *n4; }ICE; c.typedef union { int n5; float n6; } UDT; d.#typedef union { int n7; float n8; } TUDAT; TCS5
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com