How does memset() work in C?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
memset() initializes memory to a specific value.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
memset() initializes memory to a specific value.
| Is This Answer Correct ? | 0 Yes | 0 No |
#include<stdio.h> #include<conio.h> void main() { float a; clrscr(); a=0.5; if(a==0.5) printf("yes"); else printf("no"); getch(); }
Is there a way to switch on strings?
how many argument we can pas in in a function
Diff: between this 2 classes in terms of memory class A { int i; char c; double d; }; class A { double d; int i; char c; }; How it is calculating?
what is a function method?give example?
what is the output? #define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t) float gfloat; main() { float a=1.12,b=3.14; fun (a,b,float); printf("na=%4.2f,b=%4.2f",a,b); } A)Error in Defining Macro B)a=1.12,b=3.14 C)a=3.14,b=1.12 D)None of the Above
3 Answers Accenture, Infosys, Wipro,
How do I initialize a pointer to a function?
Explain what are reserved words?
What is void c?
Why c is called free form language?
Write a routine that prints out a 2-D array in spiral order!
for example user gives input as " 20 or 20.0 or rs 20.0 or 20.00 or rs20 and so .. on " and the output should be stored as " rs.20.00 " in a variable