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
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;
What will be output if you will Execute following code? #include #include void main() { char c=-'a'; printf("%d",c); }
Which of the following can be used to initialize a newly declared Variable from an existing variable?
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 ; }
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 about Function prototypes?
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 ; }