void pascal f(int i,int j,int k)
{
printf(“%d %d %d”,i, j, k);
}
void cdecl f(int i,int j,int k)
{
printf(“%d %d %d”,i, j, k);
}
main()
{
int i=10;
f(i++,i++,i++);
printf(" %d\n",i);
i=10;
f(i++,i++,i++);
printf(" %d",i);
}
Answer / susie
Answer :
10 11 12 13
12 11 10 13
Explanation:
Pascal argument passing mechanism forces the arguments
to be called from left to right. cdecl is the normal C
argument passing mechanism where the arguments are passed
from right to left.
| Is This Answer Correct ? | 5 Yes | 0 No |
Display the time of the system and display the right time of the other country
Under linux environment can u please provide a c code for computing sum of series 1-2+3-4+5......n terms and -1+2-3+4-5...n terms..
main() { float me = 1.1; double you = 1.1; if(me==you) printf("I love U"); else printf("I hate U"); }
main() { int a[10]; printf("%d",*a+1-*a+3); }
why nlogn is the lower limit of any sort algorithm?
void main() { int i=5; printf("%d",i++ + ++i); }
What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?
Write a single line c expression to delete a,b,c from aabbcc
int a=1; printf("%d %d %d",a++,a++,a); need o/p in 'c' and what explanation too
Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like.
21 Answers ABC, eBay, Goldman Sachs, Google, HUP, Microsoft, TATA,
what is the code of the output of print the 10 fibonacci number series
Find your day from your DOB?
15 Answers Accenture, Microsoft,