Tuesday, July 9, 2019

c interview question16

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int i=2,j=3;
    printf("%d\n",func(i,j));
    return 0;
}
func(int a ,int b)
{
    a=a-5;
    b++;
    return(!a+--b);
}
output::
3

No comments:

Post a Comment

python class topic video