ALLInterview.com :: Home Page      
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   Errors
   Refer this Site  Refer This Site to Your Friends  Site Map  Contact Us      
   
 
 Categories >> Code Snippets
 
  Programming Code (756)   Scripts_Markup Code (132)
 
Suggest New Category 
 


 

Question Asked @ Answers Views     Select
main( ) { static int a[ ] = {0,1,2,3,4}; int *p[ ] = {a,a+1,a+2,a+3,a+4}; int **ptr = p; ptr++; printf(“\n %d %d %d”, ptr-p, *ptr-a, **ptr); *ptr++; printf(“\n %d %d %d”, ptr-p, *ptr-a, **ptr); *++ptr; printf(“\n %d %d %d”, ptr-p, *ptr-a, **ptr); ++*ptr; printf(“\n %d %d %d”, ptr-p, *ptr-a, **ptr); }    2  1188
main( ) { int a[ ] = {10,20,30,40,50},j,*p; for(j=0; j<5; j++) { printf(“%d” ,*a); a++; } p = a; for(j=0; j<5; j++) { printf(“%d ” ,*p); p++; } }    1  1148
main( ) { int a[2][3][2] = {{{2,4},{7,8},{3,4}},{{2,2},{2,3},{3,4}}}; printf(“%u %u %u %d \n”,a,*a,**a,***a); printf(“%u %u %u %d \n”,a+1,*a+1,**a+1,***a+1); }    1  2584
main() { show(); } void show() { printf("I'm the greatest"); }    2  649
main() { extern out; printf("%d", out); } int out=100;    1  858
main() { printf("%d", out); } int out=100;    3  748
main() { extern int i; i=20; printf("%d",sizeof(i)); }    1  1719
#include main() { struct xx { int x; struct yy { char s; struct xx *p; }; struct yy *q; }; }    1  464
#include main() { struct xx { int x=3; char name[]="hello"; }; struct xx *s=malloc(sizeof(struct xx)); printf("%d",s->x); printf("%s",s->name); }    1  1117
#include main() { char s[]={'a','b','c','\n','c','\0'}; char *p,*str,*str1; p=&s[3]; str=p; str1=s; printf("%d",++*p + ++*str1-32); } cnsi   2  1245
main() { int i=0; for(;i++;printf("%d",i)) ; printf("%d",i); }    1  1847
#define f(g,g2) g##g2 main() { int var12=100; printf("%d",f(var,12)); }    3  2725
main() { int i; printf("%d",scanf("%d",&i)); // value 10 is given as input here } ibm   2  1705
#include main() { int i=1,j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; } }    1  589
void main() { int i=5; printf("%d",i+++++i); }    2  641
E-Mail New Answers        Answer Selected Questions       
Prev    1   ... 5   ... 9   ... 13   ... 17   ... 21   ... 25   ... 29    32   [33]    34  ... 37   ... 41   ... 45   ... 49   ... 53   ... 57    Next
 
 
 
 
 
Un-Answered Questions
 
 Question Views   Select
 
i am trying to intigrate ejb and hibernate ,from session facade i am callind dao implemented through hibernate,i am getting a ClassDefNotFoundException for this org/hibernate/Session i ve set the class path at build path and in setEnv in weblogic still ......... 657
write a program that reverses the input number of n.Formulate an equation to come up with the answer. 708
can we pass variable in array to traverse it? 625
How to run the Result Intemation System project in java for collage student in which result of internal exam marks send on parents mobile using SMS? what software required to run this project? please reply immediately... 494
write a program that can LOCATE and INSERT elements in array using c++ programming languages. 630
Write a simple encryption program using string function which apply the substitution method. 269
write a program that reads a series of strings and prints only those strings begging with letter "b" 370
What is 301 redirects in php? When are we used 301 redirects in our projects? 448
hai, i want to know how the connectionpool manager work in the java or netbeans.Anybody having the exact code plz give to me i have no idea about that so help me plz 398
How to add flash or *.gif file in edit panel in java? 503
program for check the given number is prime or not in VB.net 344
how to diplay a external image of output on winxp by using c & c++, 350
How can get all database name using Php and Sql? 301
code to keep a page Out of the browser history 394
How to access oralce10g data from server to client in LAN? 386
E-Mail New Answers        Answer Selected Questions