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
 
union u { union u { int i; int j; }a[10]; int b[10]; }u; main() { printf("\n%d", sizeof(u)); printf(" %d", sizeof(u.a)); // printf("%d", sizeof(u.a[4].i)); } a. 4, 4, 4 b. 40, 4, 4 c. 1, 100, 1 d. 40 400 4 HCL  1  12
union u { struct st { int i : 4; int j : 4; int k : 4; int l; }st; int i; }u; main() { u.i = 100; printf("%d, %d, %d",u.i, u.st.i, u.st.l); } a. 4, 4, 0 b. 0, 0, 0 c. 100, 4, 0 d. 40, 4, 0 HCL  1  15
#define SQR(x) x * x main() { printf("%d", 225/SQR(15)); } a. 1 b. 225 c. 15 d. none of the above HCL  1  20
main() { int i = 0xff ; printf("\n%d", i<<2); } a. 4 b. 512 c. 1020 d. 1024 HCL  1  16
main() { int i; float *pf; pf = (float *)&i; *pf = 100.00; printf("\n %d", i); } a. Runtime error. b. 100 c. Some Integer not 100 d. None of the above HCL  1  17
main(int argc, char *argv[]) { (main && argc) ? main(argc-1, NULL) : return 0; } a. Runtime error. b. Compile error. Illegal syntax c. Gets into Infinite loop d. None of the above HCL  1  19
main() { int i; clrscr(); printf("%d", &i)+1; scanf("%d", i)-1; } a. Runtime error. b. Runtime error. Access violation. c. Compile error. Illegal syntax d. None of the above HCL  1  14
write a program for area of circumference of shapes  0  28
find simple interest & compund interest  0  41
write a program in c to merge two array  1  178
To reverse an entire text file into another text file.... get d file names in cmd line Subex  0  195
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 Microsoft  0  120
how to delete an element in an array  1  581
#include"math.h" void main() { printf("Hi everybody"); } if <stdio.h> will be included then this program will must compile, but as we know that when we include a header file in "" then any system defined function find its defination from all the directrives. So is this code of segment will compile? If no then why?  2  371
can u give me the c codings for converting a string into the hexa decimal form......  0  201
E-Mail New Answers        Answer Selected Questions        Post New C Code Question
 
Prev    1   ... 3   ... 5   ... 7   ... 9   ... 11   ... 13    14   [15]    16  ... 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
 
Set up procedure for generating a wire frame display of a polyhedron with the hidden edges of the object drawn with dashed lines 318 IBM
Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ? 433 Honeywell
can u give me the c codings for converting a string into the hexa decimal form...... 201  
why nlogn is the lower limit of any sort algorithm? 22  
Design an implement of the inputs functions for event mode 299  
write a program for area of circumference of shapes 28  
Implement a t9 mobile dictionary. (Give code with explanation ) 511 Yahoo
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
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
Write a program to model an exploding firecracker in the xy plane using a particle system 389 HCL
Write a routine to implement the polymarker function 404  
How to count a sum, when the numbers are read from stdin and stored into a structure? 26  
Develop a routine to reflect an object about an arbitrarily selected plane 301  
main() { extern int i; { int i=20; { const volatile unsigned i=30; printf("%d",i); } printf("%d",i); } printf("%d",i); } int i; 48  
find simple interest & compund interest 41  
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 we print the table of 2 using for loop in c programing? 37  
Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange 337  
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