Sign Up

Continue with Google
or use


Have an account? Sign In Now

Sign In

Continue with Google
or use


Forgot Password?

Need An Account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question. Please subscribe to paid membership

Continue with Google
or use


Forgot Password?

Don't have account, Sign Up Here
Please subscribe to paid membership

Sorry, you do not have permission to add post. Please subscribe to paid membership

Continue with Google
or use


Forgot Password?

Don't have account, Sign Up Here
Please subscribe to paid membership

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Query Karo

Query Karo

Query Karo Navigation

  • No1. Interior Design
    • Catalogue
    • Video
    • CPL
    • Quotation
    • Quick Links
  • No1. CCTV Solution
    • Add-Ons
    • B2C P/L
    • Check-Out/In
    • Price
    • Service Charge
    • We Gen Id
    • Quick Links
      • CP+ Products
      • Qubo Products
  • No1. Cyber Cafe
    • Quick Links
    • CN: 1 Daily I-Calculator (Sunday Off)
    • CN: 2 DIC (Friday Off)
    • Service Charge
    • Annual Customers Worksheet
    • Forms
    • Print
    • CCM
  • Home Tuition
    • Tuition Fee
    • Book Demo Classes
  • Tutor
    • Tutor Registration
    • T&Cs
  • Parents
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • No1. Interior Design
    • Catalogue
    • Video
    • CPL
    • Quotation
    • Quick Links
  • No1. CCTV Solution
    • Add-Ons
    • B2C P/L
    • Check-Out/In
    • Price
    • Service Charge
    • We Gen Id
    • Quick Links
      • CP+ Products
      • Qubo Products
  • No1. Cyber Cafe
    • Quick Links
    • CN: 1 Daily I-Calculator (Sunday Off)
    • CN: 2 DIC (Friday Off)
    • Service Charge
    • Annual Customers Worksheet
    • Forms
    • Print
    • CCM
  • Home Tuition
    • Tuition Fee
    • Book Demo Classes
  • Tutor
    • Tutor Registration
    • T&Cs
  • Parents

Programming in C

Share
  • Facebook
19 Followers
1 Answer
31 Questions
Home/CSE - Computer Science and Engineering/Programming in C
  • Recent Questions
  • New Questions
  • Sticky Questions
  • Random
  • Most Answered
  • Answers
  • No Answers
  • Most Visited
  • Most Voted
  • Bump Question
  • Polls
  • Followed Questions
  • Favorite Questions
Anonymous
  • 2
Anonymous
Asked: May 22, 2022In: Programming in C

Invalid constants?

  • 2

What determines whether something is an invalid constant?  

What determines whether something is an invalid constant?

 

Read less
  1. Himabala Padmini
    Himabala Padmini CSE
    Added an answer on May 23, 2022 at 2:14 pm

    While defining a constant there are some rules that must be followed. for example: To define integer constant rules are: -It must have at least one digit. -There must be no decimal point. -It does not allow any blanks or commas. -An integer constant can be both negative and positive. -We assume an iRead more

    While defining a constant there are some rules that must be followed.

    for example: To define integer constant rules are:

    -It must have at least one digit.

    -There must be no decimal point.

    -It does not allow any blanks or commas.

    -An integer constant can be both negative and positive.

    -We assume an integer constant to be positive if there is no sign in front of that constant.

    -The allowable range for this type of constant is from -32768 to 32767.

    similarly, rules exist for the string constant, real constant, character constant, floating-point constant, etc.

    • And those constants which do not follow these rules are considered as invalid constants.

    Ex:

    ‘ab’ is an invalid character constant (since char must have only one literal)

    25,234 is an invalid integer constant (since is not an integer)

    25 is an invalid floating-point constant (since it doesn’t contain . a period), etc.

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
  • 93 Views
  • 3 Followers
Answer
Murakambattu Vinay
  • 0
Murakambattu VinayME
Asked: January 30, 2022In: Programming in C

Write a program to compute the smallest number of notes that will combine to give Rs. N

  • 0

Consider a currency system in which there are notes of seven denominations, namely,Re.1,Rs.2,Rs.5,Rs.10,Rs.50,Rs.100.If a sum of Rs. N is entered through the keyboard, write a program to compute the smallest number of notes that will combine to give Rs. N

Consider a currency system in which there are notes of seven denominations, namely,Re.1,Rs.2,Rs.5,Rs.10,Rs.50,Rs.100.If a sum of Rs. N is entered through the keyboard, write a program to compute the smallest number of notes that will combine to give Rs. N

Read less
  • 0 Answers
  • 43 Views
  • 0 Followers
Answer
Murakambattu Vinay
  • 0
Murakambattu VinayME
Asked: January 30, 2022In: Programming in C

Write a program to interchange the contents of C and D.

  • 0

Two numbers are input through the keyboard into two locations C and D.Write a program to interchange the contents of C and D.

Two numbers are input through the keyboard into two locations C and D.Write a program to interchange the contents of C and D.

Read less
  • 0 Answers
  • 45 Views
  • 0 Followers
Answer
Murakambattu Vinay
  • 0
Murakambattu VinayME
Asked: January 30, 2022In: Programming in C

Write a program to print all its trigonometric ratios

  • 0

If value of an angle is input through the keyboard, write a program to print all its trigonometric ratios.

If value of an angle is input through the keyboard, write a program to print all its trigonometric ratios.

Read less
  • 0 Answers
  • 92 Views
  • 1 Follower
Answer
Murakambattu Vinay
  • 0
Murakambattu VinayME
Asked: January 30, 2022In: Programming in C

Write a program to find the area of the triangle

  • 0

If length of three sides of a triangle are input through the keyboard, write a program to find the area of the triangle

If length of three sides of a triangle are input through the keyboard, write a program to find the area of the triangle

Read less
  • 0 Answers
  • 33 Views
  • 0 Followers
Answer
Murakambattu Vinay
  • 0
Murakambattu VinayME
Asked: January 30, 2022In: Programming in C

Write a program to reverse the number

  • 0

If a five digit number is input through the keyboard, write a program to reverse the number.

If a five digit number is input through the keyboard, write a program to reverse the number.

Read less
  • 0 Answers
  • 43 Views
  • 0 Followers
Answer
Murakambattu Vinay
  • 0
Murakambattu VinayME
Asked: January 30, 2022In: Programming in C

Write a program to calculate the sum of its digits

  • 0

If a five digit number is input through the keyboard, write a program to calculate the sum of its digits.

If a five digit number is input through the keyboard, write a program to calculate the sum of its digits.

Read less
  • 0 Answers
  • 31 Views
  • 0 Followers
Answer
Query Karo
  • 0
Poll
Query KaroQK#001
Asked: January 29, 2022In: Programming in C

int, char, float, real, integer, character, char, main, printf and scanf all are keywords.

  • 0

Poll Results

100%True ( 1 voter )
0%False ( 0 voters )
Based On 1 Vote

Participate in Poll, Choose Your Answer.

Read less
  • 0 Answers
  • 39 Views
  • 0 Followers
Answer
Query Karo
  • 0
Poll
Query KaroQK#001
Asked: January 29, 2022In: Programming in C

Most development environments provide an editor to type a C program and a compiler to convert it into machine language

  • 0

Poll Results

No votes. Be the first one to vote.

Participate in Poll, Choose Your Answer.

Read less
  • 0 Answers
  • 37 Views
  • 0 Followers
Answer
Query Karo
  • 0
Poll
Query KaroQK#001
Asked: January 29, 2022In: Programming in C

C programs are converted into machine language with the help of a program called Editor.

  • 0

Poll Results

No votes. Be the first one to vote.

Participate in Poll, Choose Your Answer.

Read less
  • 0 Answers
  • 31 Views
  • 0 Followers
Answer

Sidebar

Pick Category

Explore

  • Query Karo
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help

Footer

Logo
Platform of Knowledge

Services

  • Home Tutors Provider
  • Home Tuition Consultancy
  • Tuition Centre Consultancy
  • School Consultancy
  • College Consultancy
  • Advertise

Career

  • Job Vacancy

About Us

  • About Us
  • Contact Us

Help

  • Fraud Alert Guidelines

Press

  • Press

Sitemap

  • Sitemap

Business

  • Become Channel Partners
  • Become Franchise Partner

Legal Policies

  • Cookie Policy
  • Privacy Policy
  • Refund Policy
  • Terms of Service
  • Cancellation Policy

Pricing

  • Pricing

Request

  • Request a feature

Operating Address

Maa Complex, Ahead Chargharwa More, Dalluchak, Khagaul, Patna – 801105 , Bihar, India

Contact Us

Landline No: +91 6123598814

Mail: support@querykaro.com

Time: 9 AM – 9 PM

Book Demo

Contact No: +91 9546287440

Mail: mail@querykaro.com

Time: 24/7 Support

Feedback

  • Share Your Feedback

Follow Us

  • Query Karo
  • YouTube

Download App

Home Tuition App

© 2021-24 Query Karo. All Rights Reserved.