ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
 Categories  >>  Code Snippets  >>  Programming Code  >>  C Code       
Suggest New Category 
 


 

View Page with Answers
  Question  Asked @ Answers Views     select
 
func(a,b) int a,b; { return( a= (a==b) ); } main() { int process(),func(); printf("The value of process is %d !\n ",process(func,3,6)); } process(pf,val1,val2) int (*pf) (); int val1,val2; { return((*pf) (val1,val2)); }  1  13
main(){ char a[100]; a[0]='a';a[1]]='b';a[2]='c';a[4]='d'; abc(a); } abc(char a[]){ a++; printf("%c",*a); a++; printf("%c",*a); }  1  22
main() { char *p; p="%d\n"; p++; p++; printf(p-2,300); }  1  10
What are the following notations of defining functions known as? i. int abc(int a,float b) { /* some code */ } ii. int abc(a,b) int a; float b; { /* some code*/ }  1  13
In the following pgm add a stmt in the function fun such that the address of 'a' gets stored in 'j'. main(){ int * j; void fun(int **); fun(&j); } void fun(int **k) { int a =0; /* add a stmt here*/ }  1  8
main(){ unsigned int i; for(i=1;i>-2;i--) printf("c aptitude"); }  1  16
main(){ int a= 0;int b = 20;char x =1;char y =10; if(a,b,x,y) printf("hello"); }  1  15
int i; main(){ int t; for ( t=4;scanf("%d",&i)-t;printf("%d\n",i)) printf("%d--",t--); } // If the inputs are 0,1,2,3 find the o/p  1  11
main() { int i; i = abc(); printf("%d",i); } abc() { _AX = 1000; }  1  12
main() { int i =0;j=0; if(i && j++) printf("%d..%d",i++,j); printf("%d..%d,i,j); }  1  15
#include<stdio.h> main() { FILE *ptr; char i; ptr=fopen("zzz.c","r"); while((i=fgetch(ptr))!=EOF) printf("%c",i); }  1  16
# include<stdio.h> aaa() { printf("hi"); } bbb(){ printf("hello"); } ccc(){ printf("bye"); } main() { int (*ptr[3])(); ptr[0]=aaa; ptr[1]=bbb; ptr[2]=ccc; ptr[2](); }  1  14
# include <stdio.h> int one_d[]={1,2,3}; main() { int *ptr; ptr=one_d; ptr+=3; printf("%d",*ptr); }  1  12
main(int argc, char **argv) { printf("enter the character"); getchar(); sum(argv[1],argv[2]); } sum(num1,num2) int num1,num2; { return num1+num2; }  1  14
main() { char c=' ',x,convert(z); getc(c); if((c>='a') && (c<='z')) x=convert(c); printf("%c",x); } convert(z) { return z-32; }  1  13
E-Mail New Answers        Answer Selected Questions        Post New C Code Question
 
Prev    1   ... 3   ... 5    6   [7]    8  ... 9   ... 11   ... 13   ... 15   ... 17   ... 19   ... 21    Next
 
 
 C Code interview questions   C Code Interview Questions  C++ Code interview questions   C++ Code Interview Questions  VC++ Code interview questions   VC++ Code Interview Questions
 Java Code interview questions   Java Code Interview Questions  Dot Net Code interview questions   Dot Net Code Interview Questions  Visual Basic Code interview questions   Visual Basic Code Interview Questions
 Programming Code AllOther interview questions   Programming Code AllOther Interview Questions
 
 
 
Un-Answered Questions
 
 Question Views Asked at   Select
 
Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ? 433 Honeywell
create a C-code that will display the total fare of a passenger of a taxi if the driver press enter,the timer will stop. Every 10 counts is 2 pesos. Initial value is 25.00 120 Microsoft
Implement a t9 mobile dictionary. (Give code with explanation ) 513 Yahoo
Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange 338  
Design an implement of the inputs functions for event mode 300  
Write a program to model an exploding firecracker in the xy plane using a particle system 391 HCL
Write a routine to implement the polymarker function 406  
main() { extern int i; { int i=20; { const volatile unsigned i=30; printf("%d",i); } printf("%d",i); } printf("%d",i); } int i; 50  
why nlogn is the lower limit of any sort algorithm? 22  
Write a program to implement the motion of a bouncing ball using a downward gravitational force and a ground-plane friction force. Initially the ball is to be projected in to space with a given velocity vector 508  
How to count a sum, when the numbers are read from stdin and stored into a structure? 27  
Set up procedure for generating a wire frame display of a polyhedron with the hidden edges of the object drawn with dashed lines 319 IBM
write a program for area of circumference of shapes 29  
how many processes will gate created execution of -------- fork(); fork(); fork(); -------- Please Explain... Thanks in advance..! 4 GATE entrance
main() { int (*functable[2])(char *format, ...) ={printf, scanf}; int i = 100; (*functable[0])("%d", i); (*functable[1])("%d", i); (*functable[1])("%d", i); (*functable[0])("%d", &i); } a. 100, Runtime error. b. 100, Random number, Random number, Random number. c. Compile error d. 100, Random number 7 HCL
can u give me the c codings for converting a string into the hexa decimal form...... 201  
find simple interest & compund interest 44  
Develop a routine to reflect an object about an arbitrarily selected plane 301  
E-Mail New Answers        Answer Selected Questions
 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com