write a program to find lcm and hcf of two numbers??
what are the uses of structure?
why do we use pointer instead directly acessing the data?
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 the control statements in C language
how we can say java is platform independent, while we require JVM for that particular Operating System?
What is the size of enum in bytes?
What is the difference between the expression “++a” and “a++”?
Explain what is the difference between null and nul?
How can I remove the trailing spaces from a string?
Explain function pointer with exapmles.
plz answer.... write a program that reads line (using getline) e.g."345", converts each line to an integer using "atoi" and computes the average of all the numbers read. also compute the standard deviation.
To what value do nonglobal variables default? 1) auto 2) register 3) static