say the following declaration is correct nr not.
int b=a,n=0;
Answers were Sorted based on User's Feedback
Answer / nishant kumar
it's wrong as u are asigning 'a' to 'b' without declaring its data type..
| Is This Answer Correct ? | 3 Yes | 0 No |
Differentiate b/w Modify and Update commands giving example.
what is difference between null and nul in c language
find a number whether it is even or odd without using any control structures and relational operators?
22 Answers Microsoft, Shashank Private Limited,
What is else if ladder?
write a c program to store and print name,address,roll.no of a student using structures?
write a c program to print the values in words eg:- 143 written it has (one hundred and forty three)& 104, 114 are also written words
5 Answers Captronic, DELL, Google, IBM, Mithi, RCC, Wipro,
How can a program be made to print the line number where an error occurs?
int arr[] = {1,2,3,4} int *ptr=arr; *(arr+3) = *++ptr + *ptr++; Final contents of arr[]
Write a function that accepts a sentence as a parameter, and returns the same with each of its words reversed. The returned sentence should have 1 blank space between each pair of words. Demonstrate the usage of this function from a main program. Example: Parameter: “jack and jill went up a hill” Return Value: “kcaj dna llij tnew pu a llih”
main() { unsigned int k = 987 , i = 0; char trans[10]; do { trans[i++] =(char) (k%16 > 9 ? k%16 - 10 + 'a' : '\0' ); } while(k /= 16); printf("%s\n", trans); }
main() { int i=0; while(+(+i--)!=0) i-=i++; printf("%d",i); }
The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration