main() { printf(5+"good morning"); printf("%c","abcdefgh"[4]); }the o/p is morning and e...how someone explain
1 23012main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); } wat is the o/p and how?
12 33620I have an array of 100 elements, each of which is a random integer. I want to know which of the elements: a) are multiples of 2 b) are multiples of 2 AND 5 c) have a remainder of 3 when divided by 7
1 3677I have an array of 100 elements. Each element contains some text. i want to: append a star character to the end of every fifth element remove every second character from every tenth element, and… add a line feed (ascii 10) after the 30th character of every array element whose length is greater than 30 characters.
1 3967if the address of a[1,1] and a[2,1] are 1000 and 1010 respectively and each occupies 2 bytes then the array has been stored in what order?
4 26455any string of bits of length 'n' represents a unique non- negative integer between.............?
2 7393
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
Why is c so powerful?
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
Give the rules for variable declaration?
Is c high or low level?
What functions are used in dynamic memory allocation in c?
What is the difference between int main and void main in c?
Can a variable be both const and volatile?
What is the difference between array and pointer?
How can I pad a string to a known length?
How can you tell whether a program was compiled using c versus c++?
What is the most efficient way to count the number of bits which are set in an integer?
What are the three constants used in c?
How can I read data from data files with particular formats?
Why is not a pointer null after calling free?