regarding the scope of the varibles;identify the incorrect
statement:
a.automatic variables are automatically initialised to 0
b.static variables are are automatically initialised to 0
c.the address of a register variable is not accessiable
d.static variables cannot be initialised with any expression
main() { FILE *fs; char c[10]; fs = fopen(“source.txt”, ”r”); /* source.txt exists and contains “Vector Institute” */ fseek(fs,0,SEEK_END); fseek(fs,-3L,SEEK_CUR); fgets(c,5,fs); puts(c); }
Write a C program to perform some of the operation which can be performed using Single linked list
What is conio h in c?
Why c language is called c?
struct abc { unsigned int a; char b; float r; }; struct xyz { int u; struct abc tt; }ww; ww = (struct xyz*)malloc(sizeof(struct xyz)); will the memory be allocated for the inner structure also?
main() { float f1=10.5; double db1=10.5 if(f1==db1) printf("a"); else printf("b") }
I have an array of 100 elements. Each element contains some text. i want to: append a star character to the end of every fifth element remove every second character from every tenth element, and… add a line feed (ascii 10) after the 30th character of every array element whose length is greater than 30 characters.
any string of bits of length 'n' represents a unique non- negative integer between.............?
what is the difference between strcpy() and memcpy() function?
What are compound statements?
Explain how do I determine whether a character is numeric, alphabetic, and so on?
What is the advantage of an array over individual variables?