Explain command-line arguments in C.
Answer / nashiinformaticssolutions
Command-line arguments are passed to the main() function as argc (argument count) and argv (argument vector).
| Is This Answer Correct ? | 0 Yes | 0 No |
write a C program : To find out the number of identical words in two files . the file name should be taken as command line argument .
Which sorting algorithm is the best?
Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;
Is c still used in 2019?
write a program to find out number of on bits in a number?
extern static int i func() { i =10; i++; printf("%d \n",i); } main() { i =20; printf("%d \n",i); func(); printf("%d \n",i); }
Write the program for displaying the ten most frequent words in a file such that your program should be efficient in all complexity measures.
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
what is difference between #include<stdio.h> and #include"stdio.h"
When should you not use a type cast?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
0 Answers Lovely Professional University,
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?