edited by
450 views
0 votes
0 votes

What is the output of the following code ?

void f(int a, int b){

printf(“%d”,a+b);

}

void main()

{

f((2,3),4);

}

  1. 6
  1. 7
  1. 5
  1. None of these
edited by

Please log in or register to answer this question.

Related questions

3 votes
3 votes
0 answers
1
Asim Abbas asked Jan 11, 2018
474 views
Answer of this question is given as (C), but I am not able to get it how. Can any1 please explain this?
1 votes
1 votes
0 answers
2
0 votes
0 votes
1 answer
3
Hemant Parihar asked Feb 3, 2017
540 views
#include<stdio.h>int main() { char *p; p = "%d\n"; p++; p++; printf(p-2, 400); return 0;}Output : 400I ran this program and got 400 as output. But I don...