Python Related (3312)
PHP Related (7341)
Scala (340)
R Programming (396)
Kotlin (184)
Apache Groovy (39)
Ruby (245)
Go Programming Language (139)
Objective-C (429)
Programming Languages AllOther (746) struct tag{ auto int x; static int y; };main() { struct tag s; s.x=4; s.y=5; printf(“%d”,s.x); }
2 13502main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 9602main() { unsigned int k = 987 , i = 0; char trans[10]; do { trans[i++] =(char) (k%16 > 9 ? k%16 - 10 + 'a' : '\0' ); } while(k /= 16); printf("%s\n", trans); }
4 13913main() { FILE *fs; char c[10]; fs = fopen(“source.txt”, ”r”); /* source.txt exists and contains “Vector Institute” */ fseek(fs,0,SEEK_END); fseek(fs,-3L,SEEK_CUR); fgets(c,5,fs); puts(c); }
1 10165main() { char as[] = "\\0\0"; int i = 0; do{ switch( as[i++]) {case '\\' : printf("A"); break; case 0 : printf("B"); break; default : printf("C"); break; }} while(i<3); }
4 11308#define MAX 3 main() { printf("MAX = %d \n",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif
4 29437main() { int l=6; switch(l) { default:l=l+2; case 4:l=4; case 5:l++; break; } printf("%d",l); }
1 4292
How do I use void main?
How to call constructor for a parent class?
What do you mean by node in drupal?
What do you know about php artisan? Mention some artisan command.
Explain recursion through a program?
What static means?
how can you add datasets in r?
Tell me when a conditional statement is ended with an endif?
What is a template in grails?
What is the difference between union and structure in c?
What is raw string in python?
How do I edit html in joomla?
What is the difference between pages and posts in wordpress?
What are the feature of laravel 5.0?
Can constructor be private in c++?