Why is structure padding done in c?
No Answer is Posted For this Question
Be the First to Post Answer
Given an array of numbers, except for one number all the others occur twice. Give an algorithm to find that number which occurs only once in the array.
What are file streams?
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
24.what is a void pointer? 25.why arithmetic operation can’t be performed on a void pointer? 26.differentiate between const char *a; char *const a; and char const *a; 27.compare array with pointer? 28.what is a NULL pointer? 29.what does ‘segmentation violation’ mean? 30.what does ‘Bus Error’ mean? 31.Define function pointers? 32.How do you initialize function pointers? Give an example? 33.where can function pointers be used?
What are the types of functions in c?
What is %d called in c?
Differentiate between new and malloc(), delete and free() ?
#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }
Find MAXIMUM of three distinct integers using a single C statement
3. Program to print all possible substrings. ex: String S St Str Stri Strin String t tr tri trin tring r
how to find out the biggest element (or any other operation) in an array which is dynamic. User need not to mention the array size while executing.
What is the purpose of the code, and is there any problem with it? unsigned int f( unsigned n ) { return –n & 7; }