Which of the following about automatic variables within a
function is correct ?
a.its type must be declared before using the variable
b.they are local
c.they are not initialised to zero
d.they are global.
Answers were Sorted based on User's Feedback
Answer / sivadatta kodali
answer is Both a And b because automatic variables is
nothing but a normalvariables their scope is with in the block
it must be declared before using the variable
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / uma
auto is a defult data type in c na???then have to declare??
but c answer is some what ok....but exactly i think b...
i go for b
Is This Answer Correct ? | 4 Yes | 1 No |
how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?
Describe the steps to insert data into a singly linked list.
What is the right type to use for boolean values in c? Is there a standard type?
how to make c program without a libary? e.g.#include<stdio.h> libary is not in c progaram.
What is a protocol in c?
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.
int i=0,j; j=++i + ++i ++i; printf(" %d",j);
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
Explain how can I convert a number to a string?
Write a program using two-dimensional array that lists the odd numbers and even numbers separately in a 12 input values.
What is a string?
How we can write a value to an address using macro..?