#define int char
main()
{
int i=65;
printf("sizeof(i)=%d",sizeof(i));
}
Answer / susie
Answer :
sizeof(i)=1
Explanation:
Since the #define replaces the string int by the
macro char
Is This Answer Correct ? | 89 Yes | 11 No |
Write a routine to draw a circle (x ** 2 + y ** 2 = r ** 2) without making use of any floating point computations at all.
2 Answers Mentor Graphics, Microsoft,
print numbers till we want without using loops or condition statements like specifically(for,do while, while swiches, if etc)!
‎#define good bad main() { int good=1; int bad=0; printf ("good is:%d",good); }
String reverse with time complexity of n/2 with out using temporary variable.
Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it.
1) int i=5; j=i++ + i++ + i++; printf("%d",j);This code gives the answer 15.But if we replace the value of the j then anser is different?why? 2)int i=5; printf("%d",i++ + i++ + i++); this givs 18.
Printf can be implemented by using __________ list.
How to palindrom string in c language?
main() { int i=5,j=10; i=i&=j&&10; printf("%d %d",i,j); }
How to swap two variables, without using third variable ?
104 Answers AB, ADP, BirlaSoft, Cisco, Cygnet Infotech, HCL, Hewitt, Honeywell, HP, IBM, Infosys, Manhattan, Microsoft, Mobius, Percept, Satyam, SofTMware, TCS, Wipro, Yamaha,
void func1(int (*a)[10]) { printf("Ok it works"); } void func2(int a[][10]) { printf("Will this work?"); } main() { int a[10][10]; func1(a); func2(a); } a. Ok it works b. Will this work? c. Ok it worksWill this work? d. None of the above
write a function to give demostrate the functionality of 3d in 1d. function prototye: change(int value,int indexX,int indexY,int indexZ, int [] 1dArray); value=what is the date; indexX=x-asix indexY=y-axis indexZ=z-axis and 1dArray=in which and where the value is stored??