Suppose a C program has floating constant 1.414, what's the best way to convert this as 'float' data type?

Suppose a C program has floating constant 1.414, what's the best way to convert this as 'float' data type? Correct Answer 1,414f or 1.414 F

#include "stdio.h" int main() { printf("%d %d",sizeof(3.14F), sizeof(3.14L)); return 0; } Output: 4 16 উল্লেখ্য, Float এবং Integer Data Type এর জন্য কম্পিউটারে 4 Byte জায়গা প্রয়োজন। এছাড়া, Long Data Type এর জন্য 16 Byte জায়গা প্রয়োজন।

Related Questions