What is volatile in c language?
Answers were Sorted based on User's Feedback
Answer / venkata mahesh
compiler should not make any assumption about the variable
which declared as volatile.
Is This Answer Correct ? | 8 Yes | 0 No |
What is character set?
What is wrong with this code such that it doesnt produce the input reversed? #include <stdio.h> #include <stdlib.h> #include <string.h> int main(void) { char Space = ' '; char LineOfText; float count; LineOfText = getchar(); while ((LineOfText = getchar()) != '/n'); { count = strlen(LineOfText) - 1; while (count >= 0) { putchar(LineOfText[count]); count--; } } getchar(); return 0; }
How do i store a paragraph into a string? for example, if i input a long paragraph, the program will read the words one by one and concatenate them until no word is left.
i need all types of question paper releted to "c" and other language.
In a switch statement, explain what will happen if a break statement is omitted?
what are the advantage of pointer variables? write a program to count the number of vowels and consonants in a given string
Why doesnt the call scanf work?
Can the size of an array be declared at runtime?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
int i =10 main() { int i =20,n; for(n=0;n<=i;) { int i=10 i++; } printf("%d", i);
What is difference between structure and union in c?
what are far pointers?