programming languages Online Quiz - 265
Description: programming languages Online Quiz - 265 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
Attempted
0/20
Correct 0
Score 0
‹
›
Evaluate: int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; } for fn(7);
What does the following code do: int c=0; cout<
What does the following do: void afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<
Can we have a virtual constructor for a class?
Which of the following gives the memory address of a pointer a?