const char *
char * const
What is the differnce between the above tow?.
Answer Posted / satish
declaration of pointer after character in the first
case,but in second case before constant declaring the
pointer
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.
Is python a c language?
Why void is used in c?
What is a method in c?
What is difference between array and structure in c?
Does sprintf put null character?
Is void a keyword in c?
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
Does c have an equivalent to pascals with statement?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
With the help of using classes, write a program to add two numbers.
What do you mean by a sequential access file?