The Daily CLAD

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: File Operations: FMT into File

SercoSteveB
Active Participant

Which of the following most closely matches the sizes of the files generated by the VI?

FMT Into File.png

a) steve1.txt is the same size as steve2.txt

b) steve1.txt is larger than steve2.txt

c) steve1.txt is smaller than steve2.txt

d) Neither steve1.txt or steve2.txt is created due to errors

Comments
Ajay_MV
Active Participant

Answer is (C).  Formatting "9.99" to integer(%d) gives "10" which is 2 bytes of text.  Whereas formatting "9.99" to float(%f) gives "9.99000..." i.e., obviously it will have more than 4 bytes of text.  So, Answer is C.

--
Ajay MV


Neelamma
Member

Ans:C

Pratibha
Member

Ans:- C.

crossrulz
Knight of NI

Agree with all, it's C.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
faymia
Member

The answer is C.

Asha_Nagaraj
Member

Ans:- C

SercoSteveB
Active Participant

Answer : C  Nice one Ajayvignesh_MV, Neelamma, Pratibha, crossrulz, faymia & AshaNagaraj.

Nice explanation Ajayvignesh_MV

somashekar_kako
Member

Answer:c
Because of float data type 9.990000 (%f)

mini09
Active Participant

I hope i`ve missed many post answer is C... nice once steve...

skian
Member

C