๐Ÿค” No result found

๐Ÿ‘‰ Don't loose hope, Try out below methods

Ask on Telegram
  • ๐Ÿ’ก Search Tips
  • โžก๏ธ Type question from start
  • โžก๏ธ Use unique words from question
  • โŒ Don't search full question
Telegram Group ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ Get answers in minutes
Questions answered : 48 /50
Guy
Guy
Guy
Guy
Guy
+ 4981 more
Verified Answer verified

What will be the output of the program ?

#include<stdio.h>
int *check(static int, static int);

int main()
{
int *c;
c = check(10, 20);
printf("%d\n", c);
return 0;
}
int *check(static int i, static int j)
{
int *p, *q;
p = &i;
q = &j;
if(i >= 45)
return (p);
else
return (q);
}

๐Ÿ—“ Oct 6, 2023

Answer is "Error: cannot use static for function parameters"

Comments and Discussions

You don't need to login to post your comment

Comments:
30
Views:
60k
Likes:
120k
votes
Alexandra ๐ŸŒ India
Students helping students, nice idea
Was this answer helpful?
votes
Ashley ๐ŸŒ India
How?
Was this answer helpful?

Was your question answered?

Thanks for the feedback! โœ…

Want to get famous? ๐Ÿ“ธ

Answer question and get ๐Ÿคฉ high-lighted on our homepage.

Just Automated Logo

ยฉ 2017-2022 Foxoyoโ„ข
All rights reserved.

Facebook Connect with us