programming languages Online Quiz - 343
Description: programming languages Online Quiz - 343 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
void main() { ; }
void main() { struct { int EmpNo; } var; var.EmpNo=193149; printf("EmpNo: %d",var.EmpNo); }
void main() { char ch='ABCD'; switch(ch) { case 'ABCD': printf("HelloABCD"); break; case 'A': printf("HelloA"); break; case 'B': printf("HelloB"); break; case 'C': printf("HelloC"); break; case 'D': printf("HelloD"); break; } }
void main() { int Add() { return 50; } printf("%d",Add()); }
void main() { printf("Hello"); return 5; printf(" World"); }
void main() { int *ptr; int item=5; int arr[]={10,20,30,40,50}; ptr = &item; for(;item>=0;item--) { printf("%d ",*ptr); ptr--; } }
Using Proc SQL, we can create a macro variable.
void main() { int i=5; i+=i*=i-=i/i; printf("%d",i); }
How many types of Merge are there.
Todays() returns__________?
Who is the Father of C, C++ and this Quiz?
Each statement in SAS should end with semicolon (;)
Lines beginning with an asterisk (*) are not treated as comments.
Lines beginning with an asterisk (*) are not treated as comments.
Interpret the meaning of the code %include "readit.sas";
By using __________, we can suppress the page number in the output
length(string) - returns number of characters in a string
scan(string,n,) - returns the nth “word” in string
substr(string,position,) - returns pieces of a variable
translate(string,to,from) - changes from chars to to chars