Email:
Password:
Remember Me
Forgot your password?
Log in
New to Satt Academy?
Create an account
or
Log in with Google Account
Home
Ask Question?
Business Account
Exam
Exam List
Exam Result
Category
1-12 Class
Board Exam
Admission
Job Solution
Skill Development
Book Collection
Video Content
Blog Content
Question
Ask Question?
Current Affairs
All MCQ Question
All Written Question
Upload Question
General
Study Plan
Hand Note
Notice | News
Other
FAQ
Point
Package
Feedback
Home
Academy
Admission
Job Assistant
Current Affairs
Skill
Forum
Blog
Package
Course
Sign In
Unauthenticate
Guest
example@gmail.com
Login
Description
Home
Edit Description
Back
Edit Description
Fill up the form and submit
Question
Suppose a C program has floating constant 1.414, what's the best way to convert this as 'float' data type?
(float) 1.414
Float (1,414)
1,414f or 1.414 F
None of these
ANSWER : 3
Descrption
<p dir = "ltr" style = "line - height: 1.38; background - color: #ffffff; margin - top: 0pt; margin - bottom: 0pt; padding: 0pt 0pt 3pt 0pt;"><span style = "font - size: 12pt; font - family: 'Courier New'; color: #40424e; background - color: #ffffff; font - weight: 400; font - style: normal; font - variant: normal; text - decoration: none; vertical - align: baseline; white - space: pre - wrap;">#include "stdio.h"</span></p> <p dir = "ltr" style = "line - height: 1.38; background - color: #ffffff; margin - top: 0pt; margin - bottom: 0pt; padding: 0pt 0pt 3pt 0pt;"><span style = "font - size: 12pt; font - family: 'Courier New'; color: #40424e; background - color: #ffffff; font - weight: 400; font - style: normal; font - variant: normal; text - decoration: none; vertical - align: baseline; white - space: pre - wrap;">int main()</span></p> <p dir = "ltr" style = "line - height: 1.38; background - color: #ffffff; margin - top: 0pt; margin - bottom: 0pt; padding: 0pt 0pt 3pt 0pt;"><span style = "font - size: 12pt; font - family: 'Courier New'; color: #40424e; background - color: #ffffff; font - weight: 400; font - style: normal; font - variant: normal; text - decoration: none; vertical - align: baseline; white - space: pre - wrap;">{</span></p> <p dir = "ltr" style = "line - height: 1.38; background - color: #ffffff; margin - top: 0pt; margin - bottom: 0pt; padding: 0pt 0pt 3pt 0pt;"><span style = "font - size: 12pt; font - family: 'Courier New'; color: #40424e; background - color: #ffffff; font - weight: 400; font - style: normal; font - variant: normal; text - decoration: none; vertical - align: baseline; white - space: pre - wrap;"> printf("%d %d",sizeof(3.14F), sizeof(3.14L));</span></p> <p dir = "ltr" style = "line - height: 1.38; background - color: #ffffff; margin - top: 0pt; margin - bottom: 0pt; padding: 0pt 0pt 3pt 0pt;"><span style = "font - size: 12pt; font - family: 'Courier New'; color: #40424e; background - color: #ffffff; font - weight: 400; font - style: normal; font - variant: normal; text - decoration: none; vertical - align: baseline; white - space: pre - wrap;"> return 0;</span></p> <p dir = "ltr" style = "line - height: 1.38; background - color: #ffffff; margin - top: 0pt; margin - bottom: 0pt; padding: 0pt 0pt 3pt 0pt;"><span style = "font - size: 12pt; font - family: 'Courier New'; color: #40424e; background - color: #ffffff; font - weight: 400; font - style: normal; font - variant: normal; text - decoration: none; vertical - align: baseline; white - space: pre - wrap;">}</span></p> <p dir = "ltr" style = "line - height: 1.38; background - color: #ffffff; margin - top: 0pt; margin - bottom: 0pt; padding: 0pt 0pt 3pt 0pt;"><span style = "font - size: 12pt; font - family: Arial; color: #000000; background - color: #ffffff; font - weight: 400; font - style: normal; font - variant: normal; text - decoration: none; vertical - align: baseline; white - space: pre - wrap;">Output: 4 16</span></p> <p><span id = "docs - internal - guid - ee0ea55e - 7fff - ac99 - 769c - fe1ce38dcf50"></span></p> <p dir = "ltr" style = "line - height: 1.38; background - color: #ffffff; margin - top: 0pt; margin - bottom: 3pt;"><span style = "font - size: 12pt; font - family: Arial; color: #000000; background - color: #ffffff; font - weight: 400; font - style: normal; font - variant: normal; text - decoration: none; vertical - align: baseline; white - space: pre - wrap;">উল্লেখ্য, Float এবং Integer Data Type এর জন্য কম্পিউটারে 4 Byte জায়গা প্রয়োজন। এছাড়া, Long Data Type এর জন্য 16 Byte জায়গা প্রয়োজন।</span></p>
Please, login first.
click here to login
Cancel
Login
©2024 SATT ACADEMY. All rights reserved.
Promotion