programming languages Online Quiz - 36
Description: programming languages Online Quiz - 36 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
Variables with names that describe the data stored at that particular memory location are called as
What is the value of x when the below code segment is executed? int main() { int x , *z ; x = 10 ; z = &x ; x = 20 ; *z = 10 ; }
We need to have a structure day of type date which has the following values. date day = {17,2,2011}; Will the following Structure declaration Correct? struct date { int mm ; int dd ; date year ; }day;
Which of the following can be used to initialize a newly declared Variable from an existing variable?
The inserting of the code of a called function at the point where The function gets called is achieved by using
What the following program is executed? void main() { void ptr = (void) malloc(sizeof(void)); ptr++ ; }
What happens when the following code segment is Validated? int x = 20; Int main() { int x ; x = 10 ; return x ; }
The output of operation 20%3 is
What will be the output of the following code? #include<stdio.h> int main() { int num,a=5; num=-a--; printf("%d %d",num,a); }
setprecision requires the header file
If char catname[15]; , which of the following is valid?
What is the value of x when the below code segment is executed? int main() { int x , *z ; x = 10 ; z = &x ; x = 20 ; *z = 10 ; }
Which of the following statements are correct?
Which of the following will occur when trying to validate the below code Segment? #define #define // GetSquareOfx function-prototype has the following defn // int GetSquareOfx(int) ; Int main() { int x =5 ; Cout << GetSquareOfx() ; return x ; }