Explain two-dimensional array.
No Answer is Posted For this Question
Be the First to Post Answer
What does sizeof function do?
You have an int array with n elements and a structure with three int members. ie struct No { unsigned int no1; unsigned int no2; unsigned int no3; }; Point1.Lets say 1 byte in the array element is represented like this - 1st 3 bits from LSB is one number, next 2 bits are 2nd no and last 3 bits are 3rd no. Now write a function, struct No* ExtractNos(unsigned int *, int count) which extracts each byte from array and converts LSByte in the order mentioned in point1.and save it the structure no1, no2, no3. in the function struct No* ExtractNos(unsigned int *, int count), first parameter points to the base address of array and second parameter says the no of elements in the array. For example: if your array LSB is Hex F7 then result no1 = 7, no2 = 2, no3 = 7. In the same way convert all the elements from the array and save the result in array of structure.
Write a program in C to convert date displayed in gregorian to julian date
How is a structure member accessed?
What are the types of bitwise operator?
Write a C++ program to give the number of days in each month according to what the user entered. example: the user enters June the program must count number of days from January up to June
what is the function of .h in #include<stdio.h> in c ?
23 Answers HCL, IBM, Wipro,
What are extern variables in c?
What is #include in c?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
what is meant by the "equivalence of pointers and arrays" in C?
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none