Explain do array subscripts always start with zero?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Write a C program that defines a 2-dimentional integer array called A [50][50]. Then the elements of this array should randomly be initialized either to 1 or 0. The program should then print out all the elements in the diagonal (i.e. a[0][0], a[1][1],a[2][2], a[3][3], ……..a[49][49]). Finally, print out how many zeros and ones in the diagonal.

3 Answers   Infosys,


in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.

0 Answers   TCS,


why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

0 Answers  


how to write a c program to print list of fruits in alpabetical order?

0 Answers  


What is sizeof c?

0 Answers  


What are the types of data files?

0 Answers  


2. What does static variable mean?

2 Answers  


program to print upper & lower triangle of a matrix

2 Answers   TCS,


What is diffrance between declaration and defination of a variable or function

4 Answers  


How to print %d in output

6 Answers   Wipro,


How do we print only part of a string in c?

0 Answers  


What is union and structure?

0 Answers  


Categories