Answer Posted / vijith
#include <stdio.h>
int ArraySize(int array[])
{
int i = 0;
while(array[i] != NULL) i++;
return i;
}
int main(void)
{
int count;
int intarray[10];
for(count = 0;count<=10; ++count)
{
intarray[count] = count;
}
printf("\nintegers in intarray[10] == %d\n",
ArraySize(intarray) );
return 0;
}
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Can anyone send me NIC question papers alongwith answers on nidhi1485@yahoo.co.in? Urgently needed.. Thanks in advance
the systematic access of small computers in a distributed data processing system is referred as?
in teradata level primary in table level allows duplicates why?
Mainly Related to Oracle, DBMS , Oracle Stored Procedures, Functions, Oracle 9i Architecture, Redo logs..., Views,
what is the use MDM(Master Data Management)and meaning
SAS question: I have 50 fils a1,a2,...,a50. the primary key is upc. then if i want to merge all 50 files, the code is as follows, data test; merge a1 ... a50; by upc; run; we know that writing all 50 files name is time consuming, is there any standard format of this code?
Wrtite a JCL for sorting a file with start from 36 postion lenth 9 excluding a num eq to 98768. for 3 marks mainframe
how to study PHP my own? i reffered many sites.. but as being a fresher i couldnt follow those... which site will be the best one?
what are all the ant command options
What are the Short cut Keys of Tally ERP?
we create a pf with 3 fields.2 is defined as keyfields.we lock it with alcobj command.how we find out whether the file is locked or not?is it dspfd??/
How will you prove that java swing is multithreaded?
what is the extension of SPDS Dynamic cluster tables?
What is SOLID Principle in Programming Language?
How to call a C++ function which is compiled with C++ compiler in C code?