---
title: "How declare variable in cold fusion?"  
description: "How declare variable in cold fusion?"  
author: "Amit Singh"  
published: 2011-03-18  
updated: 2020-09-20  
canonical: https://www.mindstick.com/interview/446/how-declare-variable-in-cold-fusion  
category: "cold fusion"  
tags: ["cold fusion"]  
reading_time: 1 minute  

---

# How declare variable in cold fusion?

We declare variable in cold fusion as\
<cfset x="hello">\
where cfset tag is used to assign the value in x variable.

## Answers

### Answer by Amit Singh

We declare variable in cold fusion as\
<cfset x="hello">\
where cfset tag is used to assign the value in x variable.


---

Original Source: https://www.mindstick.com/interview/446/how-declare-variable-in-cold-fusion

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
