how does the C compiler interpret the following two statements p=p+x; q=q+y; a. p=p+x; q=q+y b. p=p+xq=q+y c. p=p+xq; q=q+y d. p=p+x/q=q+y
2 10849write a C and C++ programme to implement the A,bubble sort B,quick sort C,insertion sort D,sequential search E,binary search
1 6172There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side?
1 5130while initialization of two dimensional arrays we can initialize like a[][2] but why not a[2][] is there any reason behind this?
4 7807how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
3179sir i wanted to know how we wap in c to add numbers without using arithmetic operator in which digits are entered by user?
2 6848Q.11 Generate the following pattern using code in any language(c/c++/java) for n no. of rows 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
2 6112
Explain what are preprocessor directives?
What are different types of pointers?
Explain how do you print only part of a string?
what is the difference between class and unio?
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
Who developed c language and when?
Should I learn c before c++?
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
How can you find out how much memory is available?
Did c have any year 2000 problems?
What are the standard predefined macros?
In c language can we compile a program without main() function?