Question Set

1. Which of the following statement is correct prototype of the malloc() function in c ?





Ask Your Doubts Here

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

Show Similar Question And Answers
QA->A statement followed by two assumptions I and II is given. You have to consider the statement to be true even if it seems to be at variance from commonly known facts. You are to decide which of the given assumptions can definitely be drawn from the given statement. Indicate which one of the four given alternatives is correct ? Statement : If more encouragement is given to Sports, Indians will win more gold medals at the Olympic Games. Assumptions : I. Indians do not win gold medals. II. More enc....
QA->If function inside another function is called a _____ Function....
QA->Which one of the following statement is not correct about the advocate general of the state....
QA->Recently, India has been invited to 46th session of foreign ministers OIC. In this context, which of the following is not a correct statement?....
QA->A pendulum clock is set to give correct time at the sea level. This clock is moved to a hill station at an altitude of 2500m above the sea level. In order to keep correct time on the hill station, the length of the pendulum?....
MCQ->Which of the following statement is correct prototype of the malloc() function in c ?....
MCQ->Point out the correct statement which correctly free the memory pointed to by 's' and 'p' in the following program? #include<stdio.h> #include<stdlib.h> int main() { struct ex { int i; float j; char s }; struct ex p; p = (struct ex )malloc(sizeof(struct ex)); p->s = (char)malloc(20); return 0; }....
MCQ->Which of the following statement is correct about the program given below? #include<iostream.h> #include<string.h> #include<malloc.h> class BixString { char txtName[20]; public: BixString(char txtTemp = NULL) { if(txtTemp != NULL) strcpy(txtName, txtTemp); } void Display(void) { cout<<txtName; } }; int main() { char txtName = (char)malloc(10); strcpy(txtName, "IndiaBIX"); txtName = 48; BixString objTemp(txtName); cout<< sizeof(txtName); return 0; }....
MCQ->Consider the following statements about conditions that make a metal semiconductor contact rectifying N type semiconductor with work function φs more than work function φM of metalN type semiconductor with work function φs less than work function φM of metalP type semiconductor with work function φs more than work function φM of metalP type semiconductor with work function φs less than work function φM of metal. Of these statements....
MCQ->Which of the following statements are correct? The switch statement is a control statement that handles multiple selections and enumerations by passing control to one of the case statements within its body. The goto statement passes control to the next iteration of the enclosing iteration statement in which it appears. Branching is performed using jump statements which cause an immediate transfer of the program control. A common use of continue is to transfer control to a specific switch-case label or the default label in a switch statement. The do statement executes a statement or a block of statements enclosed in {} repeatedly until a specified expression evaluates to false.....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution