how to swap 2 numbers within a single statement?
Answers were Sorted based on User's Feedback
Answer / ratishchandra huidrom
if(c=a&&a=b&&b=c)printf("%d %d",a,b);
| Is This Answer Correct ? | 0 Yes | 3 No |
What does do in c?
What is void main ()?
How are structure passing and returning implemented?
Write the following function in C. stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
How is a null pointer different from a dangling pointer?
Why data types in all programming languages have some range? Why ritche have disigned first time likethat?Why not a single data type can support all other types?
what is use#in c
plz answer.. a program that takes a string e.g. "345" and returns integer 345
What do you mean by dynamic memory allocation in c? What functions are used?
main() { int a=0; if(a=0) printf("Ramco Systems\n"); printf("India\n"); } output?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
What are identifiers and keywords in c?