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
   Testimonials Refer this Site  Refer This Site to Your Friends  Site Map  Contact Us      
   
 
 Categories >> Code Snippets
 
  Programming Code (759)   Scripts_Markup Code (132)
 
Suggest New Category 
 


 

Question Asked @ Answers Views     Select
main ( ) { static char *s[ ] = {“black”, “white”, “yellow”, “violet”}; char **ptr[ ] = {s+3, s+2, s+1, s}, ***p; p = ptr; **++p; printf(“%s”,*--*++p + 3); }    1  714
main( ) { void *vp; char ch = ‘g’, *cp = “goofy”; int j = 20; vp = &ch; printf(“%c”, *(char *)vp); vp = &j; printf(“%d”,*(int *)vp); vp = cp; printf(“%s”,(char *)vp + 3); }    1  792
main( ) { char *q; int j; for (j=0; j<3; j++) scanf(“%s” ,(q+j)); for (j=0; j<3; j++) printf(“%c” ,*(q+j)); for (j=0; j<3; j++) printf(“%s” ,(q+j)); }    1  644
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  1244
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  1208
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  2663
main() { show(); } void show() { printf("I'm the greatest"); }    2  681
main() { extern out; printf("%d", out); } int out=100;    1  890
main() { printf("%d", out); } int out=100;    3  799
main() { extern int i; i=20; printf("%d",sizeof(i)); }    1  1771
#include main() { struct xx { int x; struct yy { char s; struct xx *p; }; struct yy *q; }; }    1  512
#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  1168
#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  1287
main() { int i=0; for(;i++;printf("%d",i)) ; printf("%d",i); }    1  1926
#define f(g,g2) g##g2 main() { int var12=100; printf("%d",f(var,12)); }    3  2815
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
 
How we work on N tire architecture in asp.net Please give me Examle... 9753
code to get the coordinates of a Click Event 414
Write a program that print in screen a tree with its height taken from user by entering number of 4 digits and find the odd numbers then calculate the sum of odd numbers so he get the height of tree? 960
How to access oralce10g data from server to client in LAN? 404
What is the coding about how to recognize color in fuzzy logic using Matlab R2009b? 286
Which keyword is alias for count keyword in php? 333
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 418
write a program to input a natural number less than and display it in words.test your program on the sample data and some random data sample input= 29 sample output= Twenty nine sample input=17001 sample output= out of range sample input=119 sample output =one hundred and nineteen sample input=500 sample output=five hundred 443
could you please send the program code for multiplying sparse matrix in c???? 446
sample code to auto focusing the first field in a form 364
using friend function find the maximum number from given two numbers from two different classes.write all necessary functions and constructor for the classes. 2107
an on-line examination application using html jsp servlet and jdbc. including session management and cookies 867
How many digit have a Polaris 1995 300c.c. 2x4 nad how many have a Polaris 2007 300 c.c 2x4? And what site I can check this information??? 477
Ask the user to input three positive integers M, N and q. Make the 2 dimensional array of integers with size MxN, where all the elements of I (I = 1,…,M) line will be members of geometrical progression with first element equal to the number of line (I) and denominator q. 496
write a program using virtual function to find the transposing of a square matrix? 988
E-Mail New Answers        Answer Selected Questions