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                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
what is the use of a array in c
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is the use of a array in c
Answer
# 1
to have a collection of similar dta types in one varible
 
Is This Answer Correct ?    1 Yes 0 No
Sameer
 
  Re: what is the use of a array in c
Answer
# 2
array concept is used to locate the memory allocation for
the variables
 
Is This Answer Correct ?    0 Yes 0 No
Saravanan J (srm Universi
 
 
 
  Re: what is the use of a array in c
Answer
# 3
Array is a collection of homogeneous data-types..
 
Is This Answer Correct ?    0 Yes 1 No
Shruti
 
  Re: what is the use of a array in c
Answer
# 4
An array is a collection of similar elements(data types). 
These similar elements could be all ints, or all floats, or 
all chars, etc.
In an array all elements must e of same types.

In simple language, Arrays are used to give 'one' variable 
the power to hold 'more than 1' values.
 
Is This Answer Correct ?    3 Yes 0 No
Rohit V.kamlakar
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
what does " calloc" do? Cadence6
Whats wrong with the following function char *string() { char *text[20]; strcpy(text,"Hello world"); return text; } Qualcomm3
Write a program to find the given number is odd or even without using any loops(if,for,do,while)  2
How to access or modify the const variable in c ? HP4
proc() { static i=10; printf("%d",i); } If this proc() is called second time, what is the output? Hughes5
1,4,8,13,21,30,36,45,54,63,73,?,?. Franklin-Templeton5
Can you think of a way when a program crashed before reaching main? If yes how?  2
What is the memory allocated by the following definition ? int (*x)(); ADITI2
f() { int a=2; f1(a++); } f1(int c) { printf("%d", c); } c=? Geometric-Software2
What are the commands should be given before weiting C Program i.e, Cd.. like Infonet3
How can I prevent other programmers from violating encapsulation by seeing the private parts of my class?  1
34.what are bitwise shift operators? 35.what are bit fields? What is the use of bit fields in a structure declaration? 36.what is the size of an integer variable? 37.what are the files which are automatically opened when a c file is executed? 38.what is the little endian and big endian? 39.what is the use of fflush() function? 40.what is the difference between exit() and _exit() functions? 41.where does malloc() function get the memory? 42.what is the difference between malloc() and calloc() function? 43.what is the difference between postfix and prefix unary increment operators?  2
How can we see the Expanded source code and compiled code for our source program in C?  1
who is the founder of c HP9
main() { int a = 65; printf(“%d %o %x”,a,a,a); } Output 65 101 41 Please explain me.How it is coming like that? Excel2
without a terminator how can we print a message in a printf () function. NIIT5
what is the stackpointer  2
main() { int arr[5]={23,67}; printf("%d%d%d",arr[2],arr[3],arr[4]); } TCS6
How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST Adobe2
Why doesn't the code "int a = 1000, b = 1000; long int c = a * b;" work?  6
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
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