main()
{
printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3));
}

Answer Posted / molugu.ashwin

out put 4 2 4

Is This Answer Correct ?    16 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I dynamically allocate arrays?

581


What is f'n in math?

608


program to convert a integer to string in c language'

1973


What language is c written?

568


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1341






Is it better to use a macro or a function?

643


What is the deal on sprintf_s return value?

632


using only #include and #include Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.

1302


What does c in a circle mean?

568


How is a null pointer different from a dangling pointer?

549


Can include files be nested?

619


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.

1650


Synonymous with pointer array a) character array b) ragged array c) multiple array d) none

606


What is s in c?

598


regarding pointers concept

1563