Recent questions and answers in Programming

0 votes
1 answer
5
1 votes
0 answers
6
My question is that can we use command line arguments without use of main function's parameters argc and *argv?
47 votes
8 answers
8
0 votes
0 answers
9
I have a question that can we use command line arguments without main function arguments?int main(int argc, char argv){}
0 votes
1 answer
10
2 votes
2 answers
11
let x be an array of integer . which of the following can not be present in the left hand side of an assignment statementa)x b) x+i c) * (x+i) d) &x[i]
1 votes
1 answer
12
Does C support fractional Indices?float x = some fraction;Is float a[x] valid declaration?
0 votes
1 answer
16
Find the error of the following IP addresses. If the IP is valid, check its Class and determine whether the address is Unicast or Multicast.i) 237.15.2.1ii) 256.1.8.9iii)...
2 votes
2 answers
17
0 votes
1 answer
19
#include <stdio.h int main() { int i = -1; int x = (unsigned char)i; printf("%d", x); return 0; }output is 255 , but please explain how
70 votes
13 answers
21
59 votes
4 answers
22
1 votes
2 answers
29
Main(){char far *s1,*s2;Printf("%d%d",size of(s1),sizeof(s2));}
7 votes
2 answers
30
To see more, click for all the questions in this category.