where do we use volatile keyword?
Answer / achal ubbott
the keyword volatile is more used in embedded systems
programming, especially when we are dealing with the
special function registers of a microcontroller. e.g.
status register of UART or some other peripheral devices.
As you may know that volatile asks the compiler not to
subject the variable in question to optimization.
| Is This Answer Correct ? | 1 Yes | 3 No |
a<<1 is equivalent to a) multiplying by 2 b) dividing by 2 c) adding 2 d)none of the above
What are the different types of pointers used in c language?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
is forign key will be unique key any table or not?
Distinguish between actual and formal arguments.
Write a C/C++ program that connects to a MySQL server and checks intrusion attempts every 5 minutes. If an intrusion attempt is detected beep the internal speaker to alert the administrator. A high number of aborted connects to MySQL at a point in time may be used as a basis of an intrusion.
Write a program to generate random numbers in c?
Here is alphabets : abcdefgh 1) how to reverse. as hgfedcba 2) after reversal, how to group them in a pair hg fe dc ba.
Reverse the part of the number which is present from position i to j. Print the new number.[without using the array] eg: num=789876 i=2 j=5 778986
WAP to accept first name,middle name & last name of a student display its initials?
int a=1,b=2,c=3; printf("%d,%d",a,b,c); What is the output?