where do we use volatile keyword?
* A variable should be declared volatile whenever its value
could change unexpectedly.
* A volatile qualifier must be used when reading the contents
of a memory location whose value can change unknown to the
current program.
* A volatile qualifier must be used for shared data modified
in signal handlers or interrupt service routines.
| Is This Answer Correct ? | 9 Yes | 0 No |
WAP – represent a char in binary format
identify the in correct expression a.a=b=3=4; b.a=b=c=d=0; float a=int b=3.5; d.int a; float b; a=b=3.5;
In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping
What is the size of structure in c?
What is a char c?
what does ‘#include’ mean?
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks
what is the output of the program?? #include<stdio.h> main ( ) { int a=010,sum=0,tracker: for(tracker=0;tracker<=a;tracker++) sum+=tracker; printf(“ %d\n”,sum); } what is the difference between a=10 and a=010??
using only #include <stdio.h> and #include <stdlib.h> Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.
What is hungarian notation? Is it worthwhile?
how can i print "hello"
there is two conditions , 1. while using for loop for printing 1 to 50 no's simulteneous 2. while using printf functios for printing 1 to 50 no's simulteneous with or without using variables who will take more time for compiling and execution? explain in details with reason?