programming languages Online Quiz - 287
Description: programming languages Online Quiz - 287 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
"toString" is a method of Class String.
Can you instantiate "Math" class
main(){ int i=100,j=10,k=20; int sum; float ave; char myformat[]="ave=%.2f"; sum=i+j+k; ave=sum/3; printf(myformat,ave); }
What would be the output of the following: class A { A() const; //... };
main(){ int x=5; printf("%d %d %d\n", x,x<<2,x=x>>2); }
main(){ int a,b; a=0; b=(a=1)?2:3; printf("%d %d",a,b); }
struct aaa{ struct aaa *prev; int i; struct aaa *next; }; main(){ struct aaa abc,def,ghi,jkl; int x=100; abc.i=0;abc.prev=&jkl; abc.next=&def; def.i=1; def.prev=&abc; def.next=&ghi; ghi.i=2; ghi.prev=&def; ghi.next=&jkl; jkl.i=3; jkl.prev=&ghi; jkl.next=&abc; x=abc.next->next->prev->next->i; printf("%d",x); }
abc(){ _AX = 1000;} main(){ int i; i = abc(); printf("%d",i); }
What is the output of the following? int main() { ... int *p=new int(87); ... }
The cast operator used for casting inherently incompatible pointer types
When a virtual function is inherited, its virtual nature is also inherited.
WHICH OF THE FOLLOWING WAS NOT THE APPROVER OF COBOL STANDARDS?
WHICH OF THE FOLLOWING IS THE FIRST ISO APPROVED VERSION OF COBOL?
FROM WHICH OF THE FOLLOWING EARLIER LANGUAGES, THE USE OF PICTURE CLASS HAS BEEN BORROWED INTO COBOL?
WHAT WAS THE EARLY NAME OF COBOL AS NAMED BY CODASYL COMMITTEE?
WHEN WAS THE FIRST VERSION OF COBOL RELEASED?
WHICH OF THE FOLLOWING COMMITTEES WERE MERGED AFTER THE RELEASE OF COBOL-85 TO FORM THE NOW-EXISTING COBOL STANDARDIZATION COMMITTEE(J4)?