m=++i&&++j(||)k++
printf("%d"i,j,k,m)
Answer / aravind
error
relational operators can't be assaigned, they are used for just conditions.
Is This Answer Correct ? | 4 Yes | 12 No |
Every time i run a c-code in editor, getting some runtime error and editor is disposing, even after reinstalling the software what may be the problem?
What kind of sorting is this? SORT (k,n) 1.[Loop on I Index] repeat thru step2 for i=1,2,........n-1 2.[For each pass,get small value] min=i; repeat for j=i+1 to N do { if K[j]<k[min] min=j; } temp=K[i];K[i]=K[min];K[min]=temp; 3.[Sorted Values will be returned] A)Bubble Sort B)Quick Sort C)Selection Sort D)Merge Sort
if function is declared as static in one source file, if I would like to use the same function in some other source file...is it possible....how ?
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 many times does the loop iterated ? for (i=0;i=10;i+=2) printf("Hi\n");
Write a pro-gramme to determine whether the number is even or odd?
what is array?
Describe the modifier in c?
Why c is called procedure oriented language?
how can i get output like this? 1 2 3 4 5 6
Write a progarm to find the length of string using switch case?
Give a method to count the number of ones in a 32 bit number?