What is a structure member in c?
No Answer is Posted For this Question
Be the First to Post Answer
What is a symbolic constant?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
Write an implementation of “float stringToFloat(char *str).” The code should be simple, and not require more than the basic operators (if, for, math operators, etc.). • Assumptions • Don’t worry about overflow or underflow • Stop at the 1st invalid character and return the number you have converted till then, if the 1st character is invalid return 0 • Don’t worry about exponential (e.g. 1e10), instead you should treat ‘e’ as an invalid character • Write it like real code, e.g. do error checking • Go though the string only once • Examples • “1.23” should return 1.23 • “1a” should return 1 • “a”should return 0
f(char *p) { p=(char *)malloc(sizeof(6)); strcpy(p,"HELLO"); } main() { char *p="BYE"; f(p) printf("%s",p); } what is the output?
9 Answers Hughes, Tech Mahindra,
enum { SUNDAY, MONDAY, TUESDAY, }day; main() { day =20; printf("%d",); getch(); } what will be the output of the above program
Tell us the difference between these two : #include"stdio.h" #include<stdio.h> define in detial.
Difference between MAC vs. IP Addressing
Where we use clrscr in c?
how to write a data 10 in address location 0x2000
What is the restrict keyword in C?
how to generate sparse matrix in c
Can stdout be forced to print somewhere other than the screen?